<p dir="ltr">Thank you Stephen.</p><p dir="ltr"><br></p><p dir="ltr">Using your information I was able to better understand freeswitch.</p><p dir="ltr">I've successfully setup limitation using <a href="http://wiki.freeswitch.org/wiki/Limit#max">http://wiki.freeswitch.org/wiki/Limit#max</a></p>
<p dir="ltr">Case closed :)</p><p dir="ltr">Tom</p>
<div class="gmail_quote">On 17 Feb 2013 22:37, "Steven Ayre" <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Registration and call authentication are unrelated, although usually configured together.<div><br></div><div>Registration is solely for you to register the IP:port where your user is available to <i>receive </i>calls.</div>
<div><br></div><div>You can call into FreeSWITCH without being registered. Calls (INVITE) are authenticated separately - you'll see INVITE, 401 Unauthorised, 2nd INVITE.</div><div><br></div><div>-Steve</div><div><br>
</div>
<div><br></div><div><br><br><div class="gmail_quote">On 17 February 2013 20:56, Tomasz Szuster <span dir="ltr"><<a href="mailto:tomasz.szuster@gmail.com" target="_blank">tomasz.szuster@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thx for explanation.<div><br></div><div>But how this can be possible that I can call at the same time from 3 different softphones registered into one extension, even if I've set max-registrations-per-extension and multiple-gistrations ?</div>
<div><br></div><div>Tom<div><div><br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 9:36 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Registrations don'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">
<div><div>
On 17 February 2013 20:18, Tomasz Szuster <span dir="ltr"><<a href="mailto:tomasz.szuster@gmail.com" target="_blank">tomasz.szuster@gmail.com</a>></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>
Hi,<div><br></div><div><br></div><div>I'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'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'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'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'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><profile name="internal"></div><div> <!-- <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files</a> --></div>
<div> <!--aliases are other names that will work as a valid profile name for this profile--></div><div> <aliases></div><div> <!--</div><div> <alias name="default"/></div>
<div> --></div><div> </aliases></div><div><br></div><div> <!-- Outbound Registrations --></div><div> <gateways></div><div> <X-PRE-PROCESS cmd="include" data="internal/*.xml"/></div>
<div> </gateways></div><div><br></div><div> <domains></div><div> <!-- indicator to parse the directory for domains with parse="true" to get gateways--></div><div> <!--<domain name="$${domain}" parse="true"/>--></div>
<div> <!-- indicator to parse the directory for domains with parse="true" to get gateways and alias every domain to this profile --></div><div> <!--<domain name="all" alias="true" parse="true"/>--></div>
<div> <domain name="all" alias="true" parse="false"/></div><div> </domains></div><div><br></div><div> <settings></div><div> <param name="debug" value="0"/></div>
<div> <param name="sip-trace" value="no"/></div><div> <param name="sip-capture" value="no"/></div><div> <param name="watchdog-enabled" value="no"/></div>
<div> <param name="watchdog-step-timeout" value="30000"/></div><div> <param name="watchdog-event-timeout" value="30000"/></div><div> <param name="log-auth-failures" value="true"/></div>
<div> <param name="forward-unsolicited-mwi-notify" value="false"/></div><div> <param name="context" value="public"/></div><div> <param name="rfc2833-pt" value="101"/></div>
<div> <param name="sip-port" value="$${internal_sip_port}"/></div><div> <param name="dialplan" value="XML"/></div><div> <param name="dtmf-duration" value="2000"/></div>
<div> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/></div><div> <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/></div>
<div> <param name="rtp-timer-name" value="soft"/></div><div> <param name="rtp-ip" value="$${local_ip_v4}"/></div><div> <param name="sip-ip" value="$${local_ip_v4}"/></div>
<div> <param name="hold-music" value="$${hold_music}"/></div><div> <param name="apply-nat-acl" value="nat.auto"/></div><div> <param name="apply-inbound-acl" value="domains"/></div>
<div> <param name="local-network-acl" value="localnet.auto"/></div><div> <param name="record-path" value="$${recordings_dir}"/></div><div>
<param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div>
<div> <param name="manage-presence" value="true"/></div><div> <param name="presence-hosts" value="$${domain},$${local_ip_v4}"/></div><div>
<param name="presence-privacy" value="$${presence_privacy}"/></div>
<div> <param name="inbound-codec-negotiation" value="generous"/></div><div> <param name="tls" value="$${internal_ssl_enable}"/></div><div>
<param name="tls-only" value="false"/></div>
<div> <param name="tls-bind-params" value="transport=tls"/></div><div> <param name="tls-sip-port" value="$${internal_tls_port}"/></div><div>
<param name="tls-cert-dir" value="$${internal_ssl_dir}"/></div><div> <param name="tls-passphrase" value=""/></div><div> <param name="tls-verify-date" value="true"/></div>
<div> <param name="tls-verify-policy" value="none"/></div><div> <param name="tls-verify-depth" value="2"/></div><div> <param name="tls-verify-in-subjects" value=""/></div>
<div> <param name="tls-version" value="$${sip_tls_version}"/></div><div> <param name="nonce-ttl" value="60"/></div><div> <param name="auth-calls" value="$${internal_auth_calls}"/></div>
<div> <param name="inbound-reg-force-matching-username" value="true"/></div><div> <param name="auth-all-packets" value="false"/></div><div>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div><div> <param name="ext-sip-ip" value="$${external_sip_ip}"/></div><div> <param name="rtp-timeout-sec" value="300"/></div>
<div> <param name="rtp-hold-timeout-sec" value="1800"/></div><div> <param name="force-register-domain" value="$${domain}"/></div><div> <param name="force-subscription-domain" value="$${domain}"/></div>
<div> <param name="force-register-db-domain" value="$${domain}"/></div><div> <param name="challenge-realm" value="auto_from"/></div><div> <param name="max-registrations-per-extension" value="2"/></div>
<div> <param name="multiple-registrations" value="false"/></div><div><br></div><div> </settings></div><div></profile></div><div><br></div><div><br></div><div>Will you be able to help me ?</div>
<span><font color="#888888">
</font></span></span></font></div><span><font color="#888888"><div><br></div><div>-- <br>Regards</div><div><br>Tomasz
</div>
</font></span><br></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></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><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Pozdrawiam<br>Tomasz
</font></span></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>
<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>