[Freeswitch-users] is it possible to have FS forcilby unregiter a registered UA
Steven Ayre
steveayre at gmail.com
Fri Aug 23 20:01:26 MSD 2013
>
> to go one step further, how can i do the unregister upon receiving another
> register request?
>From the same user? By default the user can only be registered at one
location.
Bear in mind registrations are timeout based, and refreshed by sending
further REGISTER packets periodically.
That means if you have 2 phones using the same user details the 2nd will
register and replace the 1st, then the 1st reregister and replace the 2nd,
then the 2nd reregister and replace the 1st...
You can't stop them reregistering. Probably wouldn't want to either, or
you'll stop blocking legitimate reregistrations, such as when a phone moves
location.
Not something you can do much about. You shouldn't use the same account in
multiple places. Or allow them to register from multiple locations at once (
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#multiple-registrations)
but bear in mind that'll affect anything that expects them in only one
place.
-Steve
On 23 August 2013 11:52, Vincent Xia <gmangudai at gmail.com> wrote:
> is it possible to have FS forcilby unregiter a registered UA, for example,
> user/1001?
>
> to go one step further, how can i do the unregister upon receiving another
> register request?
> i checked event list of the event socket but cannot find any register
> event, can anyone shed any light on this?
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130823/753db9e2/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list