<div dir="ltr"><div><pre>this is what i see from <a href="http://wiki.freeswitch.org/wiki/Sofia-SIP#Flushing_and_rebooting_registered_endpoints">http://wiki.freeswitch.org/wiki/Sofia-SIP#Flushing_and_rebooting_registered_endpoints</a></pre>
<pre>sofia profile &lt;profile_name&gt; flush_inbound_reg [&lt;call_id&gt;|&lt;user@host&gt;] [reboot]
</pre></div><div>but, what indeed is call_id??? to unregister the default user 1006, i tried</div>sofia profile internal flush_inbound_reg 1006<div>sofia profile internal flush_inbound_reg 1006@xxx.xxx.xxx.xxx<br></div><div>
sofia profile internal flush_inbound_reg user/1006<br></div><div><br></div><div>but seems nothing is working, the reg is still there.</div><div>sofia profile internal flush_inbound_reg will do but all endpoints get unreged.<br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/26 Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">yes from the same user, but i have 2 profiles, 1 for LAN and 1 for INTERNET, and i don&#39;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.</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/24 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><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><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" target="_blank">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"><div><div>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>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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></div></div><div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></div></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
</div></div></blockquote></div><br></div>