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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 10 05:34:03 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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-10 05:34 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

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

---------------------------------------------------------------------- 
 (0101454) peterh (reporter) - 2009-03-10 05:34
 http://bugs.digium.com/view.php?id=14608#c101454 
---------------------------------------------------------------------- 
is related -> close it 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-10 05:34 peterh         Note Added: 0101454                          
======================================================================




More information about the asterisk-bugs mailing list