[Freeswitch-users] Call FORBIDDEN when setting max-registrations-per-extnsion parameter

alberto Villa a.villa at seletech.com
Tue Nov 13 11:17:30 MSK 2012


Just tried, here are the results:

- if I set max-registrations-per-extension to 2 everything works fine
and the phone can succesfully call

- 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:

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.
2012-11-13 09:15:05.368001 [WARNING] sofia_reg.c:1446 SIP auth challenge
(INVITE) on sofia profile 'internal' for [1000 at 192.168.2.40] from ip
192.168.2.246
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.
2012-11-13 09:15:05.488001 [WARNING] sofia_reg.c:2575 SIP auth failure
(REGISTER) due to reaching max allowed registrations.  Count: 1
2012-11-13 09:15:05.488001 [WARNING] sofia_reg.c:1391 SIP auth failure
(INVITE) on sofia profile 'internal' for [1000 at 192.168.2.40] from ip
192.168.2.246



Il 13/11/2012 08:52, alberto Villa ha scritto:
> 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).
>
> Alberto
>
>
> Il 12/11/2012 20:03, Michael Collins ha scritto:
>> 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?
>>
>> -MC
>>
>> On Mon, Nov 12, 2012 at 8:39 AM, alberto Villa <a.villa at seletech.com
>> <mailto:a.villa at seletech.com>> wrote:
>>
>>     Hello, I found that if I set the "max-registrations-per-extension"
>>     parameter for an extension 2000 as follows
>>
>>      <param name="max-registrations-per-extension" value="1"/>
>>
>>     in the <params> section of this account .xml file, then this phone
>>     cannot execute any call as the server response is always "forbidden".
>>
>>     Is this a bug? if not why a call of an already registered user sholud
>>     trigger on such parameter?
>>
>>     I'm using FreeSWITCH version: 1.2.0 (git-b3b2c37 2012-05-18
>>     13-41-16 -0500)
>>
>>     Thanks in advance
>>
>>     Alberto
>>
>>     --
>>     Dr. Villa Alberto
>>     Sw Engineer
>>
>>     SeleTech srl
>>     via Collodi, 8 20052 Monza (MI)
>>     tel: +39 039 5962000
>>     fax: +39 039 9716905
>>     email: a.villa at seletech.com <mailto:a.villa at seletech.com>
>>     web: www.seletech.com <http://www.seletech.com>
>>          www.seletech.eu <http://www.seletech.eu>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     
>>     
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://wiki.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org
>>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>     http://www.freeswitch.org
>>
>>
>>
>>
>> -- 
>> Michael S Collins
>> Twitter: @mercutioviz
>> http://www.FreeSWITCH.org
>> http://www.ClueCon.com
>> http://www.OSTAG.org
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> -- 
> Dr. Villa Alberto
> Sw Engineer
>
> SeleTech srl
> via Collodi, 8 20052 Monza (MI)
> tel: +39 039 5962000
> fax: +39 039 9716905
> email: a.villa at seletech.com
> web: www.seletech.com
>      www.seletech.eu 
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


-- 
Dr. Villa Alberto
Sw Engineer

SeleTech srl
via Collodi, 8 20052 Monza (MI)
tel: +39 039 5962000
fax: +39 039 9716905
email: a.villa at seletech.com
web: www.seletech.com
     www.seletech.eu 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121113/908134d8/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list