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

Re: [reSIProcate] Stop registering


Happy New Year!

You will receive notification below:
ClientRegistrationHandler::onFailure( ClientRegistrationHandle h,
                const SipMessage& response)

Your subclass of ClientRegistrationHandler must be set before by
dum->setClientRegistrationHandler()

Alex

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
Dmytro Bogovych
Sent: Saturday, January 06, 2007 2:58 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [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!

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel