Your understanding of the problem seems incorrect. The problem seems due to the extension not available in your dialplan. Please check carefully in which context the call is placed and if the extension is defined in that context.<div>
<br></div><div>Maybe it can be useful to define a _X. extension to catch all not defined extensions.<br><div><br></div><div>Leandro<br><br><div class="gmail_quote">2012/4/2 Mark Farmer <span dir="ltr">&lt;<a href="mailto:mark.farmer@gagenetworks.com">mark.farmer@gagenetworks.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hi<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are trying to accept inbound calls from a SIP provider who sends us calls from various IP’s within a given subnet but they are failing every time with the following message on the console.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">chan_sip.c:20006 handle_request_invite: Call from &#39;&#39; to extension &#39;&lt;destination-number&gt;&#39; rejected because extension not found<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Our understanding is that the deny line blocks every IP and the following permit line then allows calls from the specified subnet but it seems that the peer is never matched when a calls hits the server.<u></u><u></u></p>
<p class="MsoNormal">It’s almost as if there should be a setting somewhere that we are missing to enable ACL’s.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Can anyone point us in the right direction here please? Is our understanding simply not correct?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In our peer config we have:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">host = dynamic<u></u><u></u></p><p class="MsoNormal">type = peer<u></u><u></u></p>
<p class="MsoNormal">deny = <a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><u></u><u></u></p><p class="MsoNormal">permit = xxx.xxx.xxx.xxx/<a href="http://255.255.255.0" target="_blank">255.255.255.0</a><u></u><u></u></p>
<p class="MsoNormal">context = Test<u></u><u></u></p><p class="MsoNormal">insecure = invite,port<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks in advance<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal">Mark.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>