[reSIProcate] I sek advice on how I can un-register, or logoutfrom SIP proxy

Scott Godin slgodin at icescape.com
Tue Sep 13 07:39:48 CDT 2005


By looking at the code - this is what I can see:

1.  removeAll(true) - Register is sent with '*' for all contacts and
Expires = 0.  This will remove all registrations for the AOR - even ones
not made by this application.
2.  removeMyBindings(true) - Register is sent with all Contacts that
this application is managing for the registration - each contact has
it's expires parameter set to 0.
3.  end() calls removeMyBinding(true)

So it really depends on what your would like to accomplish.  Likely just
end() will be what you want.

Scott

-----Original Message-----
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of John
Draper
Sent: Monday, September 12, 2005 7:02 PM
To: Sasha Youkhananov; resiprocate-devel at list.sipfoundry.org
Subject: Re: [reSIProcate] I sek advice on how I can un-register,or
logoutfrom SIP proxy

Sasha Youkhananov wrote:

>Call removeMyBindings (true) on your regHandler. 
>  
>
Scott Groden writes:  "You call end() or removeAll(true) on the 
ClientRegistrationHandle to unregister".
How does this differ then your suggestion of calling "removeMyBindings" 
as you suggested
above?

John

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel



More information about the resiprocate-devel mailing list