[Freeswitch-users] Unregistering Phones When FS Is Manually Shut Down

Jerry Richards jerry.richards at teotech.com
Tue Feb 28 02:08:35 MSK 2012


No, I don't think there is an RFC for this.  I just noticed FS does it for presence subscriptions but does not do it for registrations.  I just had a question on why the behavior is different.  I do not necessarily have a problem with this current behavior.

However, if FS is shutdown for an extended period of time (e.g. more than 1 hour), I think it will have stale rows in the sip_registration table.  I'm not sure what would happen in this case when it starts up again.


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Monday, February 27, 2012 2:50 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Unregistering Phones When FS Is Manually Shut Down


Did you see this in a RFC somewhere? I couldn't find anything stating that the registrar itself should send out a register like this. I do see that FS correctly sends out the register w/ exp 0 secs to other servers to which it itself has registered.

On Mon, Feb 27, 2012 at 8:34 AM, Jerry Richards <jerry.richards at teotech.com<mailto:jerry.richards at teotech.com>> wrote:
I noticed that FS does not send REGISTER expires 0 messages to registered endpoints when the Freeswitch process is shutdown for occasional maintenance.  However, I did notice it sends SUBSCRIBE expires 0 to all presence subscribers.

Is there a flag to cause it to send the REGISTER expires 0 in this case?

Best Regards,

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120227/4d297bd0/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list