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)
Exten => unauthorised,3,Hangup()
Include => regular_context

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sean Rima
Sent: August 18, 2005 3:36 PM
To: [email protected]
Subject: [Asterisk-Users] Preventing an extension from dialing
certainoutbound codes

Is there anyway to prevent an extension from dialing certain codes. ie I
want to prevent extension 203 from dialing number which start with 00
087 086 etc

Sean

-- 
+----------------------------------------------------+
|VOIP: FreeWorldDial 689482 VOIPBuster thecivvie     |
|GPG Key: http://thecivvie.fastmail.fm/thecivvie.asc |
+----------------------------------------------------+


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to