Registrations don&#39;t get logged out, they get renewed/expire or replaced.<div><br></div><div>Your 3rd machine will replace the first registration.</div><div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">

On 17 February 2013 20:18, Tomasz Szuster <span dir="ltr">&lt;<a href="mailto:tomasz.szuster@gmail.com" target="_blank">tomasz.szuster@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">

Hi,<div><br></div><div><br></div><div>I&#39;m trying to use limit logins to one extension using </div><div><span style="color:rgb(95,95,95);font-size:12px"><br></span></div><div><span style="color:rgb(95,95,95);font-size:12px"><b>max-registrations-per-extension = 2</b></span></div>



<div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">I&#39;ve set this in </span><b style="font-size:12px">sofia profile internal.</b></div>



<div><b style="font-size:12px"><br></b></div><div><span style="font-size:12px">From what I see this is not working as expected.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">I&#39;ve logged in one extensions from 3 different machines at the same time, and successfully established connections.</span></div>



<div><span style="font-size:12px">To test I used two computers with X-lite, and Sipdroit on my android phone.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">Additional I&#39;ve used:</span></div>



<div><span style="font-size:12px"><br></span></div><div><span style="color:rgb(68,68,68);font-size:12px"><b>multiple-registrations =  false</b></span></div><div><span style="color:rgb(68,68,68);font-size:12px"><b><br></b></span></div>



<div><span style="color:rgb(68,68,68);font-size:12px">Still far from expectations</span></div><div><span style="color:rgb(68,68,68);font-size:12px"><br></span></div><div><span style="color:rgb(68,68,68);font-size:12px">I&#39;ve observed this on </span><font color="#444444"><span style="font-size:12px">FreeSWITCH (Version 1.2.6 git a424765 2013-01-04 15:45:59Z) running on ubuntu 12.04 x86_64</span></font></div>



<div><font color="#444444"><span style="font-size:12px"><br></span></font></div><div><font color="#444444"><span style="font-size:12px">I want to achieve situation when extension can be used only by one user at one time.</span></font></div>



<div><font color="#444444"><span style="font-size:12px"><br></span></font></div><div><font color="#444444"><span style="font-size:12px"><br></span></font></div><div><font color="#444444"><span style="font-size:12px">Bellow is my internal sofia profile:</span></font></div>



<div><font color="#444444"><span style="font-size:12px"><br></span></font></div><div><font color="#444444"><span style="font-size:12px"><div>&lt;profile name=&quot;internal&quot;&gt;</div><div>        &lt;!-- <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files</a> --&gt;</div>



<div>        &lt;!--aliases are other names that will work as a valid profile name for this profile--&gt;</div><div>        &lt;aliases&gt;</div><div>                &lt;!--</div><div>                &lt;alias name=&quot;default&quot;/&gt;</div>



<div>                --&gt;</div><div>        &lt;/aliases&gt;</div><div><br></div><div>        &lt;!-- Outbound Registrations --&gt;</div><div>        &lt;gateways&gt;</div><div>                &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;internal/*.xml&quot;/&gt;</div>



<div>        &lt;/gateways&gt;</div><div><br></div><div>        &lt;domains&gt;</div><div>                &lt;!-- indicator to parse the directory for domains with parse=&quot;true&quot; to get gateways--&gt;</div><div>                &lt;!--&lt;domain name=&quot;$${domain}&quot; parse=&quot;true&quot;/&gt;--&gt;</div>



<div>                &lt;!-- indicator to parse the directory for domains with parse=&quot;true&quot; to get gateways and alias every domain to this profile --&gt;</div><div>                &lt;!--&lt;domain name=&quot;all&quot; alias=&quot;true&quot; parse=&quot;true&quot;/&gt;--&gt;</div>



<div>                &lt;domain name=&quot;all&quot; alias=&quot;true&quot; parse=&quot;false&quot;/&gt;</div><div>        &lt;/domains&gt;</div><div><br></div><div>        &lt;settings&gt;</div><div>                &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;</div>



<div>                &lt;param name=&quot;sip-trace&quot; value=&quot;no&quot;/&gt;</div><div>                &lt;param name=&quot;sip-capture&quot; value=&quot;no&quot;/&gt;</div><div>                &lt;param name=&quot;watchdog-enabled&quot; value=&quot;no&quot;/&gt;</div>



<div>                &lt;param name=&quot;watchdog-step-timeout&quot; value=&quot;30000&quot;/&gt;</div><div>                &lt;param name=&quot;watchdog-event-timeout&quot; value=&quot;30000&quot;/&gt;</div><div>                &lt;param name=&quot;log-auth-failures&quot; value=&quot;true&quot;/&gt;</div>



<div>                &lt;param name=&quot;forward-unsolicited-mwi-notify&quot; value=&quot;false&quot;/&gt;</div><div>                &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</div><div>                &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;</div>



<div>                &lt;param name=&quot;sip-port&quot; value=&quot;$${internal_sip_port}&quot;/&gt;</div><div>                &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div><div>                &lt;param name=&quot;dtmf-duration&quot; value=&quot;2000&quot;/&gt;</div>



<div>                &lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;</div><div>                &lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;</div>



<div>                &lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&gt;</div><div>                &lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</div><div>                &lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</div>



<div>                &lt;param name=&quot;hold-music&quot; value=&quot;$${hold_music}&quot;/&gt;</div><div>                &lt;param name=&quot;apply-nat-acl&quot; value=&quot;nat.auto&quot;/&gt;</div><div>                &lt;param name=&quot;apply-inbound-acl&quot; value=&quot;domains&quot;/&gt;</div>



<div>                &lt;param name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;</div><div>                &lt;param name=&quot;record-path&quot; value=&quot;$${recordings_dir}&quot;/&gt;</div><div>


                &lt;param name=&quot;record-template&quot; value=&quot;${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>
<div>                &lt;param name=&quot;manage-presence&quot; value=&quot;true&quot;/&gt;</div><div>                &lt;param name=&quot;presence-hosts&quot; value=&quot;$${domain},$${local_ip_v4}&quot;/&gt;</div><div>


                &lt;param name=&quot;presence-privacy&quot; value=&quot;$${presence_privacy}&quot;/&gt;</div>
<div>                &lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;</div><div>                &lt;param name=&quot;tls&quot; value=&quot;$${internal_ssl_enable}&quot;/&gt;</div><div>


                &lt;param name=&quot;tls-only&quot; value=&quot;false&quot;/&gt;</div>
<div>                &lt;param name=&quot;tls-bind-params&quot; value=&quot;transport=tls&quot;/&gt;</div><div>                &lt;param name=&quot;tls-sip-port&quot; value=&quot;$${internal_tls_port}&quot;/&gt;</div><div>



                &lt;param name=&quot;tls-cert-dir&quot; value=&quot;$${internal_ssl_dir}&quot;/&gt;</div><div>                &lt;param name=&quot;tls-passphrase&quot; value=&quot;&quot;/&gt;</div><div>                &lt;param name=&quot;tls-verify-date&quot; value=&quot;true&quot;/&gt;</div>



<div>                &lt;param name=&quot;tls-verify-policy&quot; value=&quot;none&quot;/&gt;</div><div>                &lt;param name=&quot;tls-verify-depth&quot; value=&quot;2&quot;/&gt;</div><div>                &lt;param name=&quot;tls-verify-in-subjects&quot; value=&quot;&quot;/&gt;</div>



<div>                &lt;param name=&quot;tls-version&quot; value=&quot;$${sip_tls_version}&quot;/&gt;</div><div>                &lt;param name=&quot;nonce-ttl&quot; value=&quot;60&quot;/&gt;</div><div>                &lt;param name=&quot;auth-calls&quot; value=&quot;$${internal_auth_calls}&quot;/&gt;</div>



<div>                &lt;param name=&quot;inbound-reg-force-matching-username&quot; value=&quot;true&quot;/&gt;</div><div>                &lt;param name=&quot;auth-all-packets&quot; value=&quot;false&quot;/&gt;</div><div>



                &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;</div><div>                &lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;</div><div>                &lt;param name=&quot;rtp-timeout-sec&quot; value=&quot;300&quot;/&gt;</div>



<div>                &lt;param name=&quot;rtp-hold-timeout-sec&quot; value=&quot;1800&quot;/&gt;</div><div>                &lt;param name=&quot;force-register-domain&quot; value=&quot;$${domain}&quot;/&gt;</div><div>                &lt;param name=&quot;force-subscription-domain&quot; value=&quot;$${domain}&quot;/&gt;</div>



<div>                &lt;param name=&quot;force-register-db-domain&quot; value=&quot;$${domain}&quot;/&gt;</div><div>                &lt;param name=&quot;challenge-realm&quot; value=&quot;auto_from&quot;/&gt;</div><div>                &lt;param name=&quot;max-registrations-per-extension&quot; value=&quot;2&quot;/&gt;</div>



<div>                &lt;param name=&quot;multiple-registrations&quot; value=&quot;false&quot;/&gt;</div><div><br></div><div>        &lt;/settings&gt;</div><div>&lt;/profile&gt;</div><div><br></div><div><br></div><div>Will you be able to help me ?</div>

<span class="HOEnZb"><font color="#888888">

</font></span></span></font></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br>Regards</div><div><br>Tomasz
</div>
</font></span><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>