<div dir="ltr"><font color="#663366"><div style="font-family: 'trebuchet ms', sans-serif; ">Hello All,</div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">
Some new security stuff is going on I suppose in 1.8 that I am not familiar with and would appreciate your help</div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">
In a scenario such as the following:</div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">Internet --> SBC --> Asterisk </div>
<div style="font-family: 'trebuchet ms', sans-serif; ">
<br></div><div style="font-family: 'trebuchet ms', sans-serif; ">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.</div>
<div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">[Mar 10 11:53:59] ERROR[21272]: netsock2.c:94 ast_sockaddr_stringify_fmt: getnameinfo(): ai_family not supported</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Mar 10 11:53:59] WARNING[21272]: chan_sip.c:13120 parse_register_contact: Domain '<a href="http://172.16.16.6:5060">172.16.16.6:5060</a>' disallowed by contact ACL (violating IP )</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Mar 10 11:53:59] WARNING[21272]: chan_sip.c:13837 register_verify: Registration denied because of contact ACL</font></div><div style="font-family: 'trebuchet ms', sans-serif; ">
<br></div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">Note, that the server IP is 172.16.16.11 and the SBC internal Interface IP is 172.16.16.6</font></div><div style="font-family: 'trebuchet ms', sans-serif; ">
<br></div><div style="font-family: 'trebuchet ms', sans-serif; ">the following lines have been added to sip.conf</div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">dynamic_exclude_static = yes</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">autodomain=yes</font></div><div><font class="Apple-style-span" face="'courier new', monospace">domain=172.16.16.6</font></div><div><font class="Apple-style-span" face="'courier new', monospace">allowexternaldomains=no</font></div>
<div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">In addition, in the general endpoint template in sip.conf, I have the lines</div><div style="font-family: 'trebuchet ms', sans-serif; ">
<br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">contactdeny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></font></div><div><font class="Apple-style-span" face="'courier new', monospace">contactpermit=<a href="http://172.16.16.0/255.255.255.0">172.16.16.0/255.255.255.0</a></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">host=dynamic</font></div></div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">
What else am I missing?</div><div style="font-family: 'trebuchet ms', sans-serif; "><br></div><div style="font-family: 'trebuchet ms', sans-serif; ">Thanks</div><div style="font-family: 'trebuchet ms', sans-serif; ">
\RR</div></div></font></div>