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:[EMAIL PROTECTED] > Sent: Wednesday, September 17, 2003 3:48 PM > To: [EMAIL PROTECTED] > 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 > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
