Nothing After Dial Cmd

Joined: Tue 08 of Jun, 2010

Nothing After Dial Cmd

Posted:Tue 08 of Jun, 2010 (09:56 UTC)

I'm a newly administrator of an Asterisk Platform.

My main goal is to forward calls that are done to a virtual phone number to a physical phone number.

For that, I use the following extension :

exten => s,1,Wait(2)
exten => s,2,Answer
exten => s,3,Set(CALLERID=${CALLERID(all)})
exten => s,n,Dial(SIP/...,40,rA(announce))
exten => s,n,NoOp( Dial Status: ${DIALSTATUS})
exten => s,n,Goto(s-${DIALSTATUS},1)

; Result of Dial
exten => s-CONGESTION,1,Answer
exten => s-CONGESTION,2,Playtones(congestion)
exten => s-CONGESTION,3,Congestion(5)
exten => s-CONGESTION,4,Hangup
exten => s-BUSY,1,Answer
exten => s-BUSY,2,Playtones(busy)
exten => s-BUSY,3,Busy(20)
exten => s-BUSY,4,Hangup
exten => s-CANCEL,1,Hangup
exten => s-NOANSWER,1,Hangup

All works well but lines that occurs after the Dial Command doesn't seems to be exectuted (NoOp and Goto)...

I always run the Asterisk CLI with the command rvvv param in order to be in the most verbose mode.

Do someone have any solution or any clue that could help me.