[Asterisk-Users] Dial command exits non-zero

cmould cmould at cwjamaica.com
Wed Feb 1 07:07:04 MST 2006


Why does my dial command exit non-zero when the calling party hangs up? 
I am using a t1 with the following configuration:

/*from the zaptel.conf */
pan=1,1,0,esf,b8zs
e&m=1-24
=========================

/*from zapata.conf*/
[channels]
language=en
signalling=em_w
; change signalling to featd when telco sends callerid and DID after
group=1
context=ijt1
channel => 1-24dd;===========dd;=============================
===============================

*/from extensions.conf*/
[ijt1]
exten => _X.,1,DISA(no-password|voip-cc)


[voip-cc]
exten => _X.,1,SetVar,"milsecBal=50000+0"
exten => _X.,2,ResetCDR()
exten => _X.,3,SetCDRUserField("5599")
exten => _X.,4,NoOp("before dial")
exten => _X.,5,NoOp("before dial")
exten => _X.,6,Dial(IAX2/qcslink-iax2/${EXTEN},80,L(${milsecBal}:30000))
exten => _X.,7,NoOp(${ANSWEREDTIME})
exten => _X.,8,NoOp("after dial")
=======================================

the priority items after the dial is never reached if the caller 
terminates the call.  The dial exits non-zero....... If I add the "g" 
option in the dial the priority items continue....



More information about the asterisk-users mailing list