[asterisk-users] permit -- deny not working

Eric Wieling EWieling at nyigc.com
Tue Oct 11 15:19:22 CDT 2011


Permit deny in your example applies only to incoming calls to Asterisk from the device which authenticates as "context1".   A very illogical name for a SIP peer/user/friend, but I've seen stranger things.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of hussein korbani
Sent: Tuesday, October 11, 2011 4:15 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] permit -- deny not working

Hello,

i am having an issue with the DENY permit thingy in the Extensions.conf

whenever i use the permit deny , all the calls coming from another sip-trunk to my asterisk ,start to fail & doesn't use the Extensions dial plans that i created

my context contain the following:
[context1]
.....
host=1.2.3.4
permit=1.2.3.4/255.255.255.255
deny=0.0.0.0/0.0.0.0
..


can anyone explain why its failing?
P.S; calls from extension created on the ASterisk works fine even when permit\deny is used or not


Best regards,

Hussein  K



More information about the asterisk-users mailing list