<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>One more thing check if your SBC is configured in relay mode or forward mode. If it is in relay mode you will have original SIP-UA IP in all requests coming on asterisk and only SBC IP in via but if it is forward mode you may can have SBC IP all the way in all requests.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Vladimir Mikhelson<br><b>Sent:</b> Thursday, March 10, 2011 1:42 PM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> Re: [asterisk-users] [1.8] Unable to Register: Registration denied because of contact ACL<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Pay attention, you have <span style='font-family:"Courier New";color:#663366'>permit=<a href="http://172.16.16.0/24">172.16.16.0/24</a> whereas suggestion was </span><span style='font-size:10.0pt;color:#1F497D'>permit=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><br><br><br></span><br>On 3/10/2011 1:48 AM, RR wrote: <o:p></o:p></p><div><div><p class=MsoNormal>On Thu, Mar 10, 2011 at 2:12 AM, Faisal Hanif <<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;color:#1F497D'>You can add following line to your peers configuration</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;color:#1F497D'>permit=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;color:#1F497D'>It will allow to use that peer’s account from any IP</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><o:p> </o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#663366'>Thanks. But Like I said, that's all done. Here's the Endpoint config:</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>[authentication]</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>[basic-options](!) ; a template</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> dtmfmode=rfc2833</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> context=Phones</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> type=friend</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> contactdeny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> contactpermit=<a href="http://172.16.16.0/255.255.255.0">172.16.16.0/255.255.255.0</a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> deny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> permit=<a href="http://172.16.16.0/24">172.16.16.0/24</a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> host=dynamic</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> qualify=no</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> insecure=port,invite</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>[natted-phone](!,basic-options) ; another template inheriting basic-options</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> nat=yes</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'> directmedia=no</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>[555](natted-phone)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>secret=$$ecret$$</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>disallow=all</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>allow=ulaw</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:#663366'>allow=gsm</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#663366'>no deal! The irony is that we have a similar configuration at another place, but we didn't need to put anything there and the phones register regardless!</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#663366'>Is this broken</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>--<o:p></o:p></pre><pre>_____________________________________________________________________<o:p></o:p></pre><pre>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<o:p></o:p></pre><pre>New to Asterisk? Join us for a live introductory webinar every Thurs:<o:p></o:p></pre><pre> <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>asterisk-users mailing list<o:p></o:p></pre><pre>To UNSUBSCRIBE or update options visit:<o:p></o:p></pre><pre> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></pre></div></body></html>