[asterisk-users] Dial exited non-zero, only if PSTN/ZAP/E1 hangs up first. not if voip hangs up.

Manrique Feoli manrique.feoli at kinetos.com
Wed Jul 26 09:55:53 MST 2006


Hey I need a quick advise here,   I must be missing something basic.

I get a call from an Zap E1,  and dial into a Voip extension,  

if the extension hangs up first,  the next line of the dialplan gets 
executed,

if the pstn hangs up first,   shows "exited non-zero on ZAP/6-1"  and 
the next line doesn't get executed.   ( 3,system(...) )

this is my dialplan

exten =>_X.,1,Answer
exten =>_X.,2,Dial(Zap/g1/${EXTEN},,tTrhH)
exten =>_X.,3,system(/bin/echo -e "'${DIALEDTIME}, ${ANSWEREDTIME}, 
${TIMESTAMP},${CALLERID},${EXTEN},${CHANNEL}'">> /home/mque/E1/list_calls)
exten =>_X.,4,Congestion




More information about the asterisk-users mailing list