Nice...Thanks a lot Tom!

Andres
Network Admin
http://www.telesip.net


Tom Ivar Helbekkmo wrote:

Andres <[EMAIL PROTECTED]> writes:



We are trying to figure out how to block certain calls via the Dial Plan. For example we want to block any calls to XXX5551212. We tried the simple approach below but it did not work. The second line gets picked up when we dial 13055551212.

exten => _1XXX5551212,1,Congestion
exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1)



Split them up. Place each in its own context, and include those contexts in a higher context, in the order you want them evaluated.

-tih



_______________________________________________ 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