< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Stop registering


Happy new 2007 year to all subscribers!

I'd like to ask if there is any way to handle the next case
1) my application tries to register on non-existing registrar server. Of course there is no response so resiprocate resends REGISTER packets.
There is no internal 408 response yet.
Is there any way to cancel this request and do not send further REGISTER packets?

The next code is used:

ua->mRegDialog = new UaAppDialogSet(*(ua->mDum));

ua->mRegMessage =  ua->mDum->makeRegistration(
 ua->mProfile->getDefaultFrom(),
 SharedPtr<UserProfile>(newProfile),
 ua->mRegisterDuration, ua->mRegDialog);

ua->mDum->send(ua->mRegMessage);

To finish the successfull register request I call end() on registration session handle. But there is no handle yet.

Thanks!