Ariel Batista
2003-Sep-17 13:36 UTC
[Asterisk-Users] Programming 976 numbers from dialing out.
I would like to prevent * from dialing 900 and 976 numbers. I setup the following settings in extensions.conf. But this does not seem to work! I don't know what I am doing wrong please help! exten => 1900XXXXXXX,1,Congestion exten => XXX976XXXX,1,Congestion exten => XXX976XXXX,1,Congestion exten => 1XXX976XXXX,1,Congestion exten => 91900XXXXXXX,1,Congestion exten => 9XXX976XXXX,1,Congestion exten => 91XXX976XXXX,1,Congestion
Brian West
2003-Sep-17 13:47 UTC
[Asterisk-Users] Programming 976 numbers from dialing out.
Just as simple to call your telco and have those turned off then its not an issue ever! bkw On Wed, 17 Sep 2003, Ariel Batista wrote:> I would like to prevent * from dialing 900 and 976 numbers. I setup the following settings in extensions.conf. But this does not seem to work! I don't know what I am doing wrong please help! > > exten => 1900XXXXXXX,1,Congestion > exten => XXX976XXXX,1,Congestion > exten => XXX976XXXX,1,Congestion > exten => 1XXX976XXXX,1,Congestion > exten => 91900XXXXXXX,1,Congestion > exten => 9XXX976XXXX,1,Congestion > exten => 91XXX976XXXX,1,Congestion > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Sean P. Robertson
2003-Sep-17 13:49 UTC
[Asterisk-Users] Programming 976 numbers from dialing out.
I think that you should put a _ at the beggining of each string to show that it is a pattern to be matched instead of a literal extension. Sean _______________________________________________ Sean Robertson NETXUSA p. 800-289-6389 f. 864-233-4344 "Ask me about Voice over IP." http://www.netxusa.com/ ----- Original Message ----- From: "Ariel Batista" <abatista@avionica.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, September 17, 2003 4:36 PM Subject: [Asterisk-Users] Programming 976 numbers from dialing out.> I would like to prevent * from dialing 900 and 976 numbers. I setup thefollowing settings in extensions.conf. But this does not seem to work! I don't know what I am doing wrong please help!> > exten => 1900XXXXXXX,1,Congestion > exten => XXX976XXXX,1,Congestion > exten => XXX976XXXX,1,Congestion > exten => 1XXX976XXXX,1,Congestion > exten => 91900XXXXXXX,1,Congestion > exten => 9XXX976XXXX,1,Congestion > exten => 91XXX976XXXX,1,Congestion > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Brian Jones
2003-Sep-17 13:56 UTC
[Asterisk-Users] Programming 976 numbers from dialing out.
Or you could fix your dialplan: exten => _1900X.,1,Congestion exten => _91900X.,1,Congestion exten => _1976X.,1,Congestion exten => _91976X.,1,Congestion This will block with both 9 prefix and without. 900 and 976 are area codes, but you have them as exchanges on some lines below. Brian> -----Original Message----- > From: Brian West [mailto:brian@bkw.org] > Sent: Wednesday, September 17, 2003 3:48 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Programming 976 numbers from > dialing out. > > > Just as simple to call your telco and have those turned off > then its not > an issue ever! > > bkw > > On Wed, 17 Sep 2003, Ariel Batista wrote: > > > I would like to prevent * from dialing 900 and 976 numbers. > I setup the following settings in extensions.conf. But this > does not seem to work! I don't know what I am doing wrong please help! > > > > exten => 1900XXXXXXX,1,Congestion > > exten => XXX976XXXX,1,Congestion > > exten => XXX976XXXX,1,Congestion > > exten => 1XXX976XXXX,1,Congestion > > exten => 91900XXXXXXX,1,Congestion > > exten => 9XXX976XXXX,1,Congestion > > exten => 91XXX976XXXX,1,Congestion > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >