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 -- Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting www.eunet.no T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145 _______________________________________________ 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