[Freeswitch-users] how to solve the error Rejected by acl "domains". Falling back to Digest auth?

Samira Mh saami_mh at ymail.com
Mon Jul 2 20:47:23 MSD 2012


hi guys,
please let me know paste myconfigurations as follow:
1-
vim /usr/local/freeswitch/conf/directory/default/v_212263612400.xml

<include>
  <user id="212263612400">
    <params>
      <param name="password" value="samira"/>
      <param name="vm-password" value="user-choose"/>
      <param name="vm-enabled" value="true"/>
      <param name="max-registrations-per-extension"  value="1"/>

    </params>
    <variables>
      <variable name="toll_allow" value=""/>
      <variable name="accountcode" value=""/>
      <variable name="user_context" value="default"/>
      <variable name="directory-visible" value="true"/>
      <variable name="directory-exten-visible" value="true"/>
      <variable name="limit_max" value="5"/>
      <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
      <variable name="nibble_account" value="20014334"/>
    </variables>
  </user>
</include>

2-vim /usr/local/freeswitch/conf/autoload_configs/acl.conf.xml
<configuration name="acl.conf" description="Network Lists">
 <network-lists>
    
     <list name="domains" default="deny">
       <node type="allow" domain="$${domain}"/>

        </list>

  </network-lists>
</configuration>

*max-registrations-per-extension   =1 
when issue the following  command the user is registered so another user with the extension '2122636124' couldn't register simultaneously :
sofia status profile internal  reg

Now what is problem?
every time i want to dial some extensions that is configured in my dialplan the following erroe occure:
2012-07-02 21:02:12.050074 [WARNING] sofia_reg.c:1471 SIP auth challenge (REGISTER) on sofia profile 'internal_private' for [212263612400 at 192.168.10.70] from ip 192.168.18.120
2012-07-02 21:02:14.710049 [DEBUG] sofia.c:7904 IP 192.168.18.120 Rejected by acl "domains". Falling back to Digest auth.
2012-07-02 21:02:14.710049 [WARNING] sofia_reg.c:1471 SIP auth challenge (INVITE) on sofia profile 'internal_private' for [00989191949637 at 192.168.10.70] from ip 192.168.18.120
2012-07-02 21:02:14.710049 [DEBUG] sofia.c:7904 IP 192.168.18.120 Rejected by acl "domains". Falling back to Digest auth.
2012-07-02 21:02:14.710049 [WARNING] sofia_reg.c:2607 SIP auth failure (REGISTER) due to reaching max allowed registrations.  Count: 1
2012-07-02 21:02:14.710049 [WARNING] sofia_reg.c:1416 SIP auth failure (INVITE) on sofia profile 'internal_private' for [00989191949637 at 192.168.10.70] from ip 192.168.18.120

so if i remove the line   <param name="max-registrations-per-extension"  value="1"/>  from /usr/local/freeswitch/conf/directory/default/v_212263612400.xml or from within /usr/local/freeswitch/conf/sip_profiles/internal.xml(it is posible to defined either 

internal.xml  or /usr/local/freeswitch/conf/directory/default/v_212263612400.xml) the problem solved --with the same settings on vim /usr/local/freeswitch/conf/autoload_configs/acl.conf.xml-- but  simultaneously  registeration per extension couldn't worked properly ,,,

plz help,
what is problem on my settings?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120702/c7a4be91/attachment.html 


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