We are using Asterisk 1.4.18.1. We have also tried with Asterisk 1.4.22. Vicidial 2.0.4.
Asterisk CLI Output:
-- Executing [1159302441@default:1] AGI("Local/1159302441@default-5315,2", "call_log.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
AGI Tx >> agi_request: call_log.agi
AGI Tx >> agi_channel: Local/1159302441@default-5315,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1237875564.2321
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0324061924000066528
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 1159302441
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script call_log.agi completed, returning 0
-- Executing [1159302441@default:2] Dial("Local/1159302441@default-5315,2", "IAX2/voip-out/01159302441||tTo") in new stack
-- Called voip-out/01159302441
-- Call accepted by 193.111.201.98 (format gsm)
-- Format for call is gsm
-- IAX2/voip-out-3 is making progress passing it to Local/1159302441@default-5315,2
-- IAX2/voip-out-3 is circuit-busy
-- Hungup 'IAX2/voip-out-3'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [1159302441@default:3] Hangup("Local/1159302441@default-5315,2", "") in new stack
== Spawn extension (default, 1159302441, 3) exited non-zero on 'Local/1159302441@default-5315,2'
-- Executing [h@default:1] DeadAGI("Local/1159302441@default-5315,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------)") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------)
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log--HVcauses ... ----------)
AGI Tx >> agi_channel: Local/1159302441@default-5315,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1237875564.2321
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0324061924000066528
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
----------------------------------------------------------------------------
Once there is a call with the "busy/congested" status, vicidial is not making next call. I have checked Vicidial_auto_calls table also. But there is no record in that so issue doesn't relate to that one also. ntpd service is running fine too. So it's not like after sometime agent goes in Pause mode automatically.
There is something with the auto dial script or status of the call. And it happens when there is "Busy/Congested" status only. If one call is answered then next call does not take more time to dial.