Displaying 2 results from an estimated 2 matches for "callbacktest".
2011 Mar 15
1
[1.4] Failed callfile doesn't jump to "failed" extension
Hello
For some reason, when dialing out through a call file and the remote
line is busy, Asterisk doesn't jump to the "failed" extension in the
context used by the call file:
====== call file
Channel: Zap/1/5551234
Context: callbacktest
Extension: start
Priority: 1
MaxRetries: 1
====== extension.conf
[callbacktest]
exten => start,1,NoOp(Status is ${DIALSTATUS})
exten => start,n,Wait(10)
exten => start,n,Hangup
exten => failed,1,NoOp(Reason call file failed is ${REASON})
====== CLI
ip04*CLI>
-- Attempting call on...
2011 Mar 03
6
[1.4] Forcing Asterisk/Zaptel to wait until callee answers?
...ding with Playback():
============
;call made through Dial(): Doesn't proceed after off-hook/hangup
[internal]
exten => 8888,1,Dial(Zap/1/${IPPI})
exten => 8888,n,NoOp(We never get there)
exten => 8888,n,Hangup
============
;call made through callfile: Doesn't wait for off-hook
[callbacktest]
exten => start,1,NoOp(DialStatus is ${DIALSTATUS})
exten => start,n,NoOp(${CHANNEL(state)})
exten => start,n,Playback(tt-monkeysintro)
exten => start,n,Wait(2)
exten => start,n,Hangup
============
;tried this to force callfile to wait until off-hook
[callbacktest]
exten => star...