Ok, here's a weird one.
I have an AGI script where one user calls another. The call is answered.
Everything is peachy. If the call is terminated by the CALLEE hanging up the
call, then Asterisk returns control back to where the Dial() command left off,
and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great.
HOWEVER, if the CALLER hangs up the call, it seems as if Asterisk immediately
kills the AGI script. My script seems to terminate immediately and therefore
execution does not continue after the Dial() command. Because of this, I cannot
do any post call processing, or even check the return code from Dial() or
${DIALSTATUS}. I don't know yet, but this may prevent me from being able to put
calls through to voicemail as well.
Anyone seen this? It's a consistent problem.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users