On Monday 02 April 2012, Mark Farmer wrote:
> Hi
> 
> 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.
> 
> chan_sip.c:20006 handle_request_invite: Call from '' to extension
> '<destination-number>' rejected because extension not found

Your ACL must be working fine.  The call is failing at the next stage: there 
isn't a matching extension in the context where the call comes in.

> 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. It's almost as if
> there should be a setting somewhere that we are missing to enable ACL's.
> 
> Can anyone point us in the right direction here please? Is our
> understanding simply not correct?
> 
> In our peer config we have:
> 
> host = dynamic
> type = peer
> deny = 0.0.0.0/0.0.0.0
> permit = xxx.xxx.xxx.xxx/255.255.255.0
> context = Test
> insecure = invite,port

Ah, so the call comes in in context "Test".  So, look to your dialplan, then. 
Does this context have any extensions defined in it?  Or, if you created your 
dialplan using includes, did you remember to include everything you should 
have?  (And remember that it's case sensitive.)


-- 
AJS

Answers come *after* questions.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to