[asterisk-bugs] [Asterisk 0017366]: [patch] strange extension pattern matching
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Oct 4 18:23:59 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: closed
Target Version: 1.4.38
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-05-20 12:57 CDT
Last Modified: 2010-10-04 18:23 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.
======================================================================
----------------------------------------------------------------------
(0127686) svnbot (reporter) - 2010-10-04 18:23
https://issues.asterisk.org/view.php?id=17366#c127686
----------------------------------------------------------------------
Repository: asterisk
Revision: 290256
_U trunk/
U trunk/main/pbx.c
U trunk/pbx/ael/ael-test/ref.ael-ntest10
U trunk/pbx/ael/ael-test/ref.ael-test1
U trunk/pbx/ael/ael-test/ref.ael-test19
U trunk/pbx/ael/ael-test/ref.ael-test2
U trunk/pbx/ael/ael-test/ref.ael-test3
U trunk/pbx/ael/ael-test/ref.ael-test4
U trunk/pbx/ael/ael-test/ref.ael-test5
U trunk/pbx/ael/ael-test/ref.ael-vtest13
U trunk/pbx/ael/ael-test/ref.ael-vtest17
U trunk/res/ael/pval.c
------------------------------------------------------------------------
r290256 | tilghman | 2010-10-04 18:23:58 -0500 (Mon, 04 Oct 2010) | 25
lines
Merged revisions 290255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r290255 | tilghman | 2010-10-04 18:23:11 -0500 (Mon, 04 Oct 2010) | 18
lines
Merged revisions 290254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11
lines
Change new pattern matcher to regard dashes the same as the old
pattern matcher -- as visual candy to be ignored.
Also change the AEL parser to not generate dashes within extensions,
as those
dashes would be ignored. Update the AEL tests to match this behavior.
(closes issue https://issues.asterisk.org/view.php?id=17366)
Reported by: murf
Patches:
20100727__issue17366.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=290256
Issue History
Date Modified Username Field Change
======================================================================
2010-10-04 18:23 svnbot Checkin
2010-10-04 18:23 svnbot Note Added: 0127686
======================================================================
More information about the asterisk-bugs
mailing list