[asterisk-dev] CID match uses "shortest prefix match"

Jared Smith jsmith at digium.com
Mon Mar 16 12:22:08 CDT 2009


----- "Klaus Darilion" <klaus.mailinglists at pernau.at> wrote:
> I tried the CID match feature of Asterisk (1.4.23) but found a strange
> 
> behavior: it matches on shortest prefix, e.g:
> 
>    s/_+436991116! => &Macro1();
>    s/_+4369911!   => &Macro2();
> 

Just out of curiosity... what happens when you use a "." instead of "!" in the pattern?  Does it still behave the same way?

---
Jared Smith
Training Manager
Digium, Inc.



More information about the asterisk-dev mailing list