[Freeswitch-users] is it possible to have FS forcilby unregiter a registered UA

Vincent Xia gmangudai at gmail.com
Mon Aug 26 05:56:09 MSD 2013


yes from the same user, but i have 2 profiles, 1 for LAN and 1 for
INTERNET, and i don't want 1 user to register both in LAN and INTERNET, so
im considering to kill the previous registration once i got register
request from the same user but a different profile.


2013/8/24 Steven Ayre <steveayre at gmail.com>

> 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
>>
>>
>
> _________________________________________________________________________
> 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/20130826/653e6acf/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list