[asterisk-users] Asterisk ACL

Leandro Dardini ldardini at gmail.com
Mon Apr 2 07:53:26 CDT 2012


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.

Maybe it can be useful to define a _X. extension to catch all not defined
extensions.

Leandro

2012/4/2 Mark Farmer <mark.farmer at gagenetworks.com>

> 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****
>
> ** **
>
> 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****
>
> ** **
>
> Thanks in advance****
>
> Mark.****
>
> ** **
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120402/44f84204/attachment.htm>


More information about the asterisk-users mailing list