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

Leif Madsen leif.madsen at asteriskdocs.org
Thu Mar 19 18:37:03 CDT 2009


Klaus Darilion wrote:
> 
> Jared Smith schrieb:
>> ----- "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.)
> 
> Can you point me to the code were this must be fixed (just like the 
> extension matching).

Eh? I thought you were going to open an issue on the tracker so this could *get* 
fixed.

Leif Madsen.



More information about the asterisk-dev mailing list