[asterisk-bugs] [Asterisk 0014608]: Goto(s-${DIALSTATUS}, 1) for status ANSWER incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 9 12:49:18 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=14608 
====================================================================== 
Reported By:                peterh
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14608
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-05 02:52 CST
Last Modified:              2009-03-09 12:49 CDT
====================================================================== 
Summary:                    Goto(s-${DIALSTATUS},1) for status ANSWER incorrect
Description: 
[dialstatustest]
exten => s,1,Dial(${TRUNK}/0123456,30,g)
exten => s,n,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,NoOp(hangup)
exten => s-NOANSWER,n,Hangup

exten => s-BUSY,1,NoOp(busy)
exten => s-BUSY,n,Hangup

exten => s-CHANUNAVAIL,1,NoOp(chanunavail)
exten => s-CHANUNAVAIL,n,Hangup

exten => s-CONGESTION,1,NoOp(congestion)
exten => s-CONGESTION,1,Hangup

exten => s-ANSWER,1,NoOp(answer)
exten => s-ANSWER,n,Hangup

exten => _s-.,1,Goto(s-BUSY,1)


[default]
exten => 0123456789,n,Goto(dialstatustest,s,1)



if DIALSTATUS = ANSWER Goto(s-${DIALSTATUS},1) jumps to _s-. instead of
s-ANSWER


-- Executing [s at dialstatustest:2] Goto("DAHDI/31-1", "s-ANSWER,1") in new
stack
-- Goto (dialstatustest,s-ANSWER,1)
-- Executing [s-ANSWER at dialstatustest:1] Goto("DAHDI/31-1", "s-BUSY,1") in
new stack
-- Goto (dialstatustest,s-BUSY,1)
-- Executing [s-BUSY at dialstatustest:1] NoOp("DAHDI/31-1", "busy") in new
stack
-- Executing [s-BUSY at dialstatustest:2] Hangup("DAHDI/31-1", "") in new
stack

====================================================================== 

---------------------------------------------------------------------- 
 (0101403) file (administrator) - 2009-03-09 12:49
 http://bugs.digium.com/view.php?id=14608#c101403 
---------------------------------------------------------------------- 
Do you have extenpatternmatchnew set to yes in your extensions.conf file? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-09 12:49 file           Note Added: 0101403                          
2009-03-09 12:49 file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list