[asterisk-bugs] [Asterisk 0017366]: [patch] strange extension pattern matching

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 28 07:46:16 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17366 
====================================================================== 
Reported By:                murf
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17366
Category:                   PBX/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Target Version:             1.4.36
Asterisk Version:           SVN 
JIRA:                       SWP-1517 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-20 12:57 CDT
Last Modified:              2010-07-28 07:46 CDT
====================================================================== 
Summary:                    [patch] strange extension pattern matching
Description: 
Maybe I'm just hallucinating, but if I goto(mysw-17-3,label)  and have
these extensions defined:

_mysw-17-.
_mysw-1-.
mysw-17-
mysw-17-*
mysw-17-2
mysw-17-1
s

The last match I would expect would be the second item in the list above,
but that's the one that is chosen.


====================================================================== 

---------------------------------------------------------------------- 
 (0125189) murf (manager) - 2010-07-28 07:46
 https://issues.asterisk.org/view.php?id=17366#c125189 
---------------------------------------------------------------------- 
Tilghman--

There *is* a battery of tests, and it would be very good to keep them up
to date.

look in pbx/ael/ael-test; run the 'runtests' script. I've been meaning to

update, but perhaps you could verify that the current diffs are what they
are meant to be, and update them, then run them on your patch, and see if
that louses up anything. I'd add a new test or two with the patterns I
described above, and maybe one more along that line,  as regression
tests...? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-28 07:46 murf           Note Added: 0125189                          
======================================================================




More information about the asterisk-bugs mailing list