[asterisk-bugs] [Asterisk 0018074]: macro does not match Goto extension s-NOANSWER when extenpatternmatchnew=yes

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 29 12:48:52 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18074 
====================================================================== 
Reported By:                mdeneen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18074
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-29 12:48 CDT
Last Modified:              2010-09-29 12:48 CDT
====================================================================== 
Summary:                    macro does not match Goto extension s-NOANSWER when
extenpatternmatchnew=yes
Description: 
With the following macro:

[ Context 'macro-stdexten' created by 'pbx_config' ]
  's' =>            1. GotoIf($["${MACRO_EXTEN}" =
"${CALLERID(num)}"]?callself) [pbx_config]
                    2. GotoIf($["${VMCOUNT(${ARG1})}" != "0"]?vm)
[pbx_config]
                    3. GotoIf($["${VMCOUNT(${ARG1})}" = "0"]?novm)
[pbx_config]
     [vm]           4. SendText(You have voicemail messages)     
[pbx_config]
     [novm]         5. Dial(${ARG2},17,tTr)                      
[pbx_config]
                    6. Goto(s-${DIALSTATUS},1)                   
[pbx_config]
     [callself]     7. Wait(2)                                   
[pbx_config]
                    8. VoiceMailMain(${ARG1})                    
[pbx_config]
                    9. Hangup()                                  
[pbx_config]
  's-BUSY' =>       1. Voicemail(b${ARG1})                       
[pbx_config]
                    2. Hangup()                                  
[pbx_config]
  's-CHANUNAVAIL' => 1. Voicemail(u${ARG1})                       
[pbx_config]
                    2. Hangup()                                  
[pbx_config]
  's-CONGESTION' => 1. Congestion()                              
[pbx_config]
                    2. Hangup()                                  
[pbx_config]
  's-NOANSWER' =>   1. Voicemail(u${ARG1})                       
[pbx_config]
                    2. Hangup()                                  
[pbx_config]

a Goto to s-NOANSWER does not match when extenpatternmatchnew=yes, but
does with extenpatternmatchnew=no.  Here is the console output:

  == Using SIP RTP CoS mark 5
    -- Executing [2612 at from-sip-internal:1] Macro("SIP/2611-00000019",
"stdexten,2612,SIP/2612") in new stack
    -- Executing [s at macro-stdexten:1] GotoIf("SIP/2611-00000019",
"0?callself") in new stack
    -- Executing [s at macro-stdexten:2] GotoIf("SIP/2611-00000019", "0?vm")
in new stack
    -- Executing [s at macro-stdexten:3] GotoIf("SIP/2611-00000019",
"1?novm") in new stack
    -- Goto (macro-stdexten,s,5)
    -- Executing [s at macro-stdexten:5] Dial("SIP/2611-00000019",
"SIP/2612,17,tTr") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2612
    -- SIP/2612-0000001a is ringing
    -- Nobody picked up in 17000 ms
    -- Executing [s at macro-stdexten:6] Goto("SIP/2611-00000019",
"s-NOANSWER,1") in new stack
    -- Goto (macro-stdexten,s-NOANSWER,1)
    -- Auto fallthrough, channel 'SIP/2611-00000019' status is 'NOANSWER'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-29 12:48 mdeneen        New Issue                                    
2010-09-29 12:48 mdeneen        Asterisk Version          => 1.6.2.13        
2010-09-29 12:48 mdeneen        Regression                => No              
2010-09-29 12:48 mdeneen        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list