<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Just tried, here are the results:<br>
<br>
- if I set max-registrations-per-extension to 2 everything works
fine and the phone can succesfully call<br>
<br>
- if I set max-registrations-per-extension to 1 and call extension
1000 from extension 2000 I get the "FORBIDDEN" response on phone
2000 and fs print this on his log:<br>
<br>
2012-11-13 09:15:05.368001 [DEBUG] sofia.c:7847 IP 192.168.2.246
Rejected by acl "domains". Falling back to Digest auth.<br>
2012-11-13 09:15:05.368001 [WARNING] sofia_reg.c:1446 SIP auth
challenge (INVITE) on sofia profile 'internal' for
[<a class="moz-txt-link-abbreviated" href="mailto:1000@192.168.2.40">1000@192.168.2.40</a>] from ip 192.168.2.246<br>
2012-11-13 09:15:05.488001 [DEBUG] sofia.c:7847 IP 192.168.2.246
Rejected by acl "domains". Falling back to Digest auth.<br>
2012-11-13 09:15:05.488001 [WARNING] sofia_reg.c:2575 SIP auth
failure (REGISTER) due to reaching max allowed registrations.
Count: 1<br>
2012-11-13 09:15:05.488001 [WARNING] sofia_reg.c:1391 SIP auth
failure (INVITE) on sofia profile 'internal' for
[<a class="moz-txt-link-abbreviated" href="mailto:1000@192.168.2.40">1000@192.168.2.40</a>] from ip 192.168.2.246<br>
<br>
<br>
<br>
Il 13/11/2012 08:52, alberto Villa ha scritto:<br>
</div>
<blockquote cite="mid:50A1FC4B.7000207@seletech.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">No, I haven't tried it yet, just give
me some time and I will try with a value of 2 or 3 and will
provide some more info from fs log. What I wanted to achieve
when I set this parameter was to forbid any registration
following the first for any enabled extension: if A successfully
registers with ID ID_A and then B try to register with ID_A I
wanted the registration of B to be rejected (as successfully is
when I set max-registrations-per-extension parameter to 1). <br>
<br>
Alberto<br>
<br>
<br>
Il 12/11/2012 20:03, Michael Collins ha scritto:<br>
</div>
<blockquote
cite="mid:CAKzWOxWM2B-CdkkPpt6=ySTcXn43PyzvU-AkeOBRVQDYrUCXHQ@mail.gmail.com"
type="cite">So the same phone that registers successfully cannot
make outbound calls? Just for the sake of testing, have you
tried setting the max registrations value to "2" or "3" and test
again?<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Mon, Nov 12, 2012 at 8:39 AM,
alberto Villa <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:a.villa@seletech.com" target="_blank">a.villa@seletech.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Hello, I
found that if I set the "max-registrations-per-extension"<br>
parameter for an extension 2000 as follows<br>
<br>
<param name="max-registrations-per-extension"
value="1"/><br>
<br>
in the <params> section of this account .xml file,
then this phone<br>
cannot execute any call as the server response is always
"forbidden".<br>
<br>
Is this a bug? if not why a call of an already registered
user sholud<br>
trigger on such parameter?<br>
<br>
I'm using FreeSWITCH version: 1.2.0 (git-b3b2c37 2012-05-18
13-41-16 -0500)<br>
<br>
Thanks in advance<br>
<br>
Alberto<br>
<br>
--<br>
Dr. Villa Alberto<br>
Sw Engineer<br>
<br>
SeleTech srl<br>
via Collodi, 8 20052 Monza (MI)<br>
tel: +39 039 5962000<br>
fax: +39 039 9716905<br>
email: <a moz-do-not-send="true"
href="mailto:a.villa@seletech.com">a.villa@seletech.com</a><br>
web: <a moz-do-not-send="true"
href="http://www.seletech.com" target="_blank">www.seletech.com</a><br>
<a moz-do-not-send="true" href="http://www.seletech.eu"
target="_blank">www.seletech.eu</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com"
target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Villa Alberto
Sw Engineer
SeleTech srl
via Collodi, 8 20052 Monza (MI)
tel: +39 039 5962000
fax: +39 039 9716905
email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:a.villa@seletech.com">a.villa@seletech.com</a>
web: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.seletech.com">www.seletech.com</a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.seletech.eu">www.seletech.eu</a> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Villa Alberto
Sw Engineer
SeleTech srl
via Collodi, 8 20052 Monza (MI)
tel: +39 039 5962000
fax: +39 039 9716905
email: <a class="moz-txt-link-abbreviated" href="mailto:a.villa@seletech.com">a.villa@seletech.com</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.seletech.com">www.seletech.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.seletech.eu">www.seletech.eu</a> </pre>
</body>
</html>