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

Jared Smith jsmith at digium.com
Thu Mar 19 09:14:00 CDT 2009


----- "Leif Madsen" <leif.madsen at asteriskdocs.org> wrote:
> I should also note that this functionality change would only occur in
> Asterisk trunk, and would be first fixed in Asterisk 1.6.3 as this would cause
> a behaviour change in previous Asterisk releases, and would risk
> breaking existing  dialplans.

While it's certainly not my call... I have to strongly disagree with this point. It's a bug, plain and simple.  It should be fixed in all branches receiving bug fixes, just like every other pattern matching bug I've encountered so far.  (Besides, if you want to get pedantic, this is *very* much a corner case, and I doubt that too many people who happen to be using the caller-id matching syntax are dependent upon the broken behavior shown in this thread.)

--
Jared Smith
Training Manager
Digium, Inc.



More information about the asterisk-dev mailing list