[asterisk-bugs] [Asterisk 0015421]: [patch] Serious problem in pattern matching

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 21 21:48:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15421 
====================================================================== 
Reported By:                jsmith
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15421
Category:                   PBX/pbx_config
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-29 14:45 CDT
Last Modified:              2009-09-21 21:48 CDT
====================================================================== 
Summary:                    [patch] Serious problem in pattern matching
Description: 
There appears to be a serious problem in the pattern matching in
Asterisk... for some reason, it thinks the following two extensions are
equivalent, when they're not.

exten => _N[2-4]X,1,NoOp(foo)
exten => _N[246]X,1,NoOp(bar)
====================================================================== 

---------------------------------------------------------------------- 
 (0111111) dant (reporter) - 2009-09-21 21:48
 https://issues.asterisk.org/view.php?id=15421#c111111 
---------------------------------------------------------------------- 
I've applied the patch and the issue looks unresolved...

oak*CLI> dialplan show test-pat-match
[ Context 'test-pat-match' created by 'pbx_config' ]
  '_1[4-6]' =>      1. NoOp(foo)                                 
[pbx_config]
                    2. NoOp(bar2)                                
[pbx_config]

[Sep 22 10:39:54] VERBOSE[25729] pbx.c:     -- Added extension '_1[4-6]'
priority 1 to test-pat-match (0x8d01b10)
[Sep 22 10:39:54] WARNING[25729] pbx.c: Unable to register extension
'_1[468]', priority 1 in 'test-pat-match', already in use
[Sep 22 10:39:54] VERBOSE[25729] pbx.c:     -- Added extension '_1[468]'
priority 2 to test-pat-match (0x8d01b10) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-21 21:48 dant           Note Added: 0111111                          
======================================================================




More information about the asterisk-bugs mailing list