[asterisk-users] outgoing call file and agi detect busy
Jerry Geis
geisj at pagestation.com
Thu Aug 7 08:32:05 CDT 2008
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
smvoice_callprogress at smvoice-dialout:1 (Retry 1)
-- Got SIP response 486 "Busy" back from 192.168.1.161
> Channel SIP/401-15aa5ab0 was never answered.
-- Executing [failed at smvoice-dialout: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
More information about the asterisk-users
mailing list