RE: [Asterisk-Users] Preventing an extension from dialing certainoutbound codes

2005-08-18 Thread Benjamin Lawetz
Just put 203 in his own context which reacts to those numbers, and then include your normal context [restrict] Exten => _00.,1,goto(unauthorised,1) Exten => _087.,1,goto(unauthorised,1) Exten => _086.,1,goto(unauthorised,1) Exten => unauthorised,1,Playback(invalid) Exten => unauthorised,2,wait(2)

Re: [Asterisk-Users] Preventing an extension from dialing certainoutbound codes

2005-08-18 Thread Sean Rima
Benjamin Lawetz wrote: > Just put 203 in his own context which reacts to those numbers, and then > include your normal context > > [restrict] > Exten => _00.,1,goto(unauthorised,1) > Exten => _087.,1,goto(unauthorised,1) > Exten => _086.,1,goto(unauthorised,1) > Exten => unauthorised,1,Playback(in