[reSIProcate] Stop registering
Alexander Altshuler
alt at kaluga.ru
Sat Jan 6 03:34:43 CST 2007
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 at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of
Dmytro Bogovych
Sent: Saturday, January 06, 2007 2:58 AM
To: resiprocate-devel at list.resiprocate.org
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 at list.resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
More information about the resiprocate-devel
mailing list