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

Klaus Darilion klaus.mailinglists at pernau.at
Fri Mar 20 06:15:16 CDT 2009



Leif Madsen schrieb:
> 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.

I wanted to fix it myself, but anyhow:
http://bugs.digium.com/view.php?id=14708


regards
klaus



More information about the asterisk-dev mailing list