Re: [reSIProcate] Stop registering
There is currently no way to cancel the request. You must wait for
either onSuccess or onFailure and then call end.
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Dmytro Bogovych
> Sent: Friday, January 05, 2007 6:58 PM
> 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