[asterisk-dev] CID match uses "shortest prefix match"
Benny Amorsen
benny+usenet at amorsen.dk
Tue Mar 17 05:32:52 CDT 2009
Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:
> When it comes to the short-circuit operators "." and "!", the first matches,
> based upon an alphanumeric search of the entire extension string. As Steve
> Davies correctly pointed out, the order in which matching is done is better
> managed by using ordered includes (depth-first search). Also note that the
> short-circuit operators may only be the final character within an extension,
> by definition: the short-circuit nature of the character means that no
> further matching will be done.
Why is it that Asterisk does not let people specify the order, except
with the rather inconvenient use of includes?
It is probably the thing that annoys me the most about dial plans.
/Benny
More information about the asterisk-dev
mailing list