[Home]

Summary:ASTERISK-13698: Goto(s-${DIALSTATUS},1) for status ANSWER incorrect
Reporter:Peter Holik (peterh)Labels:
Date Opened:2009-03-05 02:52:14.000-0600Date Closed:2009-03-10 08:22:56
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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@dialstatustest:2] Goto("DAHDI/31-1", "s-ANSWER,1") in new stack
-- Goto (dialstatustest,s-ANSWER,1)
-- Executing [s-ANSWER@dialstatustest:1] Goto("DAHDI/31-1", "s-BUSY,1") in new stack
-- Goto (dialstatustest,s-BUSY,1)
-- Executing [s-BUSY@dialstatustest:1] NoOp("DAHDI/31-1", "busy") in new stack
-- Executing [s-BUSY@dialstatustest:2] Hangup("DAHDI/31-1", "") in new stack
Comments:By: Joshua C. Colp (jcolp) 2009-03-09 12:49:18

Do you have extenpatternmatchnew set to yes in your extensions.conf file?

By: Alec Davis (alecdavis) 2009-03-09 15:08:17

peterh: probably related http://bugs.digium.com/view.php?id=14615

By: Peter Holik (peterh) 2009-03-10 05:34:03

is related -> close it