<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">to go one step further, how can i do the unregister upon receiving another register request?</blockquote>

<div><br></div><div>From the same user? By default the user can only be registered at one location.</div><div><br></div><div>Bear in mind registrations are timeout based, and refreshed by sending further REGISTER packets periodically.</div>

<div><br></div><div>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...</div>
<div>
<br></div><div>You can&#39;t stop them reregistering. Probably wouldn&#39;t want to either, or you&#39;ll stop blocking legitimate reregistrations, such as when a phone moves location.</div><div><br></div><div>Not something you can do much about. You shouldn&#39;t use the same account in multiple places. Or allow them to register from multiple locations at once (<a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#multiple-registrations">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#multiple-registrations</a>) but bear in mind that&#39;ll affect anything that expects them in only one place.</div>

<div><br></div><div>-Steve</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 August 2013 11:52, Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>is it possible to have FS forcilby unregiter a registered UA, for example, user/1001?</div><div><br>

</div><div>to go one step further, how can i do the unregister upon receiving another register request?</div>
<div>i checked event list of the event socket but cannot find any register event, can anyone shed any light on this?</div><div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>