I am using asterisk 1.4.21 with outgoing call files.
I am call a line that is busy as you can see below.
How can my AGI ask what the status of the last call was
so I can tell if there was NO ANSWER or it was BUSY?
Thanks,
Jerry
-- Attempting call on SIP/401 for
[EMAIL PROTECTED]:1 (Retry 1)
-- Got SIP response 486 "Busy" back from 192.168.1.161
> Channel SIP/401-15aa5ab0 was never answered.
-- Executing [EMAIL PROTECTED]:1] AGI("OutgoingSpoolFailed",
"smvoice") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/smvoice
== Spawn extension (smvoice-dialout, failed, 1) exited non-zero on
'OutgoingSpoolFailed'
[Aug 7 09:20:56] NOTICE[11272]: pbx_spool.c:341 attempt_thread: Call
failed to go through, reason (5) Remote end is Busy
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users