[asterisk-users] permit -- deny not working

Jim Dickenson dickenson at cfmc.com
Tue Oct 11 15:25:44 CDT 2011


I do not know if order is important but I always deny all then permit what I want to permit.
-- 
Jim Dickenson
mailto:dickenson at cfmc.com

CfMC
http://www.cfmc.com/



On Oct 11, 2011, at 1:15 PM, hussein korbani wrote:

> 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

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


More information about the asterisk-users mailing list