[asterisk-users] [1.8] Unable to Register: Registration denied because of contact ACL

RR ranjtech at gmail.com
Wed Mar 9 20:04:18 CST 2011


Hello All,

Some new security stuff is going on I suppose in 1.8 that I am not familiar
with and would appreciate your help

In a scenario such as the following:

Internet --> SBC --> Asterisk

upon trying to register an endpoint, the following is being observed on the
Asterisk Console. Have Googled this but haven't come up with anything that
helped much.

[Mar 10 11:53:59] ERROR[21272]: netsock2.c:94 ast_sockaddr_stringify_fmt:
getnameinfo(): ai_family not supported
[Mar 10 11:53:59] WARNING[21272]: chan_sip.c:13120 parse_register_contact:
Domain '172.16.16.6:5060' disallowed by contact ACL (violating IP )
[Mar 10 11:53:59] WARNING[21272]: chan_sip.c:13837 register_verify:
Registration denied because of contact ACL

Note, that the server IP is 172.16.16.11 and the SBC internal Interface IP
is 172.16.16.6

the following lines have been added to sip.conf

dynamic_exclude_static = yes
autodomain=yes
domain=172.16.16.6
allowexternaldomains=no

In addition, in the general endpoint template in sip.conf, I have the lines

contactdeny=0.0.0.0/0.0.0.0
contactpermit=172.16.16.0/255.255.255.0
host=dynamic

What else am I missing?

Thanks
\RR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110309/4ff59543/attachment.htm>


More information about the asterisk-users mailing list