[asterisk-bugs] [Asterisk 0012800]: [patch] extenpatternmatchnew=yes breaks GotoIf
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Jun 9 11:28:22 CDT 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=12800
======================================================================
Reported By: chris-mac
Assigned To: svnbot
======================================================================
Project: Asterisk
Issue ID: 12800
Category: Applications/NewFeature
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Asterisk Version: 1.6.0-beta9
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 06-05-2008 15:54 CDT
Last Modified: 06-09-2008 11:28 CDT
======================================================================
Summary: [patch] extenpatternmatchnew=yes breaks GotoIf
Description:
The following works just fine with extenpatternmatchnew=no
[macro-DialPSTN]
exten => s,1,NoOp(**************** DialPSTN ********************** )
exten => s,n,Set(DYNAMIC_FEATURES=apps)
exten => s,n,Set(CDR(DST_NAME)=${ARG1})
exten => s,n,Set(CDR(DIRECTION)=out)
exten => s,n,GotoIf($["${SIP_HEADER(X-DDI-local)}" = "1"]?local:pstn)
exten => s,n(local),Goto(from-pstn,${CDR(dst)},1)
exten => s,n(pstn),Set(CDR(DST_RATE)=${ARG2})
...
but with extenpatternmatchnew=yes I am getting the following error:
-- Executing [s at macro-DialPSTN:5] GotoIf("SIP/10001-081d6b00",
"0?local:pstn") in new stack
[Jun 5 21:57:06] NOTICE[26908]: pbx.c:2926 pbx_extension_helper: Cannot
find extension 's' in context 'macro-DialPSTN'
[Jun 5 21:57:06] WARNING[26908]: pbx.c:8053 pbx_parseable_goto: Priority
'pstn' must be a number > 0, or valid label
======================================================================
----------------------------------------------------------------------
svnbot - 06-09-08 11:28
----------------------------------------------------------------------
Repository: asterisk
Revision: 121279
U trunk/main/pbx.c
------------------------------------------------------------------------
r121279 | tilghman | 2008-06-09 11:28:21 -0500 (Mon, 09 Jun 2008) | 6
lines
Implement FINDLABEL matching for the new extension matching engine.
(closes issue http://bugs.digium.com/view.php?id=12800)
Reported by: chris-mac
Patches:
20080608__bug12800.diff.txt uploaded by Corydon76 (license 14)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=121279
Issue History
Date Modified Username Field Change
======================================================================
06-09-08 11:28 svnbot Note Added: 0088489
06-09-08 11:28 svnbot Status ready for testing =>
resolved
06-09-08 11:28 svnbot Resolution open => fixed
06-09-08 11:28 svnbot Assigned To => svnbot
======================================================================
More information about the asterisk-bugs
mailing list