[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
Re: [asterisk-users] permit -- deny not working
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
Re: [asterisk-users] permit -- deny not working
I do not know if order is important but I always deny all then permit what I want to permit. -- Jim Dickenson mailto:dicken...@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 -- _ -- 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
Re: [asterisk-users] permit -- deny not working
According to this http://www.voip-info.org/wiki/view/Asterisk+sip+permit-deny-mask you are only allowing traffic In from 1.2.3.4. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of hussein korbani Sent: Tuesday, October 11, 2011 3: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
Re: [asterisk-users] permit -- deny not working
On Tue, Oct 11, 2011 at 3:15 PM, hussein korbani h.korb...@gmail.comwrote: 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 This doesn't belong in extensions.conf, this belongs in either sip.conf or iax.conf, depending on the type of technology you use to bring this connection into your asterisk system. -- Thanks, --Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- 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
Re: [asterisk-users] permit -- deny not working
Hi, It was already answered... You must always deny before allow. Regards, Carlos -- _ -- 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