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-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of hussein korbani
Sent: Tuesday, October 11, 2011 4:15 PM
To: asterisk-users@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

--
_____________________________________________________________________
-- 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