AW: [Asterisk-Users] Exclude prefixes

Mark Spencer markster at digium.com
Thu May 8 07:40:54 MST 2003


> Guys, this wont work in all case. The shorter regular
> expression will match first. Just ran headlong into this
> problem when connecting to a PABX which sents digit after
> digit instead of the entire number in one go.

You can *always* force the order with includes, i.e.:

[nodial]
exten => _0900.,1,Congestion

[okaydial]
exten => _0XXX.,1,Dial(...)

[default]
include => nodial
include => okaydial

Mark




More information about the asterisk-users mailing list