[asterisk-users] Asterisk ACL

Mark Farmer mark.farmer at gagenetworks.com
Mon Apr 2 07:44:39 CDT 2012


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

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 =
permit = xxx.xxx.xxx.xxx/
context = Test
insecure = invite,port

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120402/f8e75238/attachment.htm>

More information about the asterisk-users mailing list