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

Sean Rima thecivvie at fastmail.fm
Thu Aug 18 13:42:21 MST 2005


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

Thanks, I see I have a lot ore learning to do and will get back to
reading my printout of the PDF

Sean

-- 
+----------------------------------------------------+
|VOIP: FreeWorldDial 689482 VOIPBuster thecivvie     |
|GPG Key: http://thecivvie.fastmail.fm/thecivvie.asc |
+----------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2859 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050818/c2b43926/smime.bin


More information about the asterisk-users mailing list