<div dir="ltr"><div class="gmail_quote">On Thu, Mar 10, 2011 at 2:12 AM, Faisal Hanif <span dir="ltr"><<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">You can add following line to your peers configuration</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><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></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">It will allow to use that peer’s account from any IP</span></p><p class="MsoNormal"><font class="Apple-style-span" color="#1F497D"><br></font></p></div></div>
</blockquote><div><br></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif" color="#663366">Thanks. But Like I said, that's all done. Here's the Endpoint config:</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif" color="#663366"><br>
</font></div><div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">[authentication]</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">[basic-options](!) ; a template</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> dtmfmode=rfc2833</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> context=Phones</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> type=friend</font></div><div><font class="Apple-style-span" color="#663366" 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" color="#663366" 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" color="#663366" face="'courier new', monospace"> deny=<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" color="#663366" face="'courier new', monospace"> permit=<a href="http://172.16.16.0/24">172.16.16.0/24</a></font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> host=dynamic</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> qualify=no</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> insecure=port,invite</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">[natted-phone](!,basic-options) ; another template inheriting basic-options</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> nat=yes</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"> directmedia=no</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace"><br></font></div><div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">[555](natted-phone)</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">secret=$$ecret$$</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">disallow=all</font></div>
<div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">allow=ulaw</font></div><div><font class="Apple-style-span" color="#663366" face="'courier new', monospace">allow=gsm</font></div>
<div><br></div><div><font class="Apple-style-span" face="'trebuchet ms', 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!</font></div>
<div><br></div></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif" color="#663366">Is this broken</font></div><div><br></div></div></div></div>