[Asterisk-Users] Re: Dial Plan Pattern Matching
Andres
andres at telesip.net
Sun Nov 14 11:42:57 MST 2004
Nice...Thanks a lot Tom!
Andres
Network Admin
http://www.telesip.net
Tom Ivar Helbekkmo wrote:
>Andres <andres at telesip.net> 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
>
>
More information about the asterisk-users
mailing list