[asterisk-bugs] [Asterisk 0016903]: [patch] Incorrect pattern specificity in new dial pattern functions
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 9 20:49:23 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16903
======================================================================
Reported By: Nick_Lewis
Assigned To: bbryant
======================================================================
Project: Asterisk
Issue ID: 16903
Category: PBX/General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
JIRA: SWP-969
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-02-25 09:40 CST
Last Modified: 2010-09-09 20:49 CDT
======================================================================
Summary: [patch] Incorrect pattern specificity in new dial
pattern functions
Description:
An error appears to have crept in when copying the specificity of X, Z and
N wildcards from the old dial pattern matching functions to the new ones.
In the old functions the specificity is:
X : 0x0A30
Z : 0x0931
N : 0x0832
which is the same as
[0-9] : 0x0A30
[1-9] : 0x0931
[2-9] : 0x0832
but in the new functions the specificity is:
X : 0x0A00
Z : 0x0901
N : 0x0802
======================================================================
----------------------------------------------------------------------
(0126801) svnbot (reporter) - 2010-09-09 20:49
https://issues.asterisk.org/view.php?id=16903#c126801
----------------------------------------------------------------------
Repository: asterisk
Revision: 285710
U branches/1.6.2/main/pbx.c
------------------------------------------------------------------------
r285710 | bbryant | 2010-09-09 20:49:22 -0500 (Thu, 09 Sep 2010) | 8 lines
Fixes an issue with dialplan pattern matching where the specificity for
pattern ranges and pattern special characters was inconsistent.
(closes issue https://issues.asterisk.org/view.php?id=16903)
Reported by: Nick_Lewis
Patches:
pbx.c-specificity.patch uploaded by Nick Lewis (license 657)
Tested by: Nick_Lewis
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=285710
Issue History
Date Modified Username Field Change
======================================================================
2010-09-09 20:49 svnbot Checkin
2010-09-09 20:49 svnbot Note Added: 0126801
======================================================================
More information about the asterisk-bugs
mailing list