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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 10 08:22:56 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14608 
====================================================================== 
Reported By:                peterh
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14608
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 duplicate
Duplicate:                  14615
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-05 02:52 CST
Last Modified:              2009-03-10 08:22 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

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0014615 exten => ANSWER not found when exten...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-10 08:22 file           Relationship added       duplicate of 0014615
2009-03-10 08:22 file           Duplicate ID             0 => 14615          
2009-03-10 08:22 file           Status                   feedback => resolved
2009-03-10 08:22 file           Resolution               open => duplicate   
2009-03-10 08:22 file           Assigned To               => file            
2009-03-10 08:22 file           Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list