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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org