But nothing really happens, I see the call is reaching the server
- Code: Select all
-- Executing [431234567@trunkinbound:1] AGI("SIP/lcx-00000041", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- <SIP/lcx-00000041>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [431234567@trunkinbound:2] Hangup("SIP/lcx-00000041", "") in new stack
== Spawn extension (trunkinbound, 431234567, 2) exited non-zero on 'SIP/lcx-00000041'
-- Executing [h@trunkinbound:1] AGI("SIP/lcx-00000041", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- <SIP/lcx-00000041>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
== Manager 'sendcron' logged on from 127.0.0.1
and it's being passed to agi-DID_route.agi but then it's just hung up.
I checked the logfiles but didn't find something useful there. What am I missing?
Agent is logged in, the in-group was selected, the "Allowed Inbound Groups" was enabled in the campaign but still no luck.
LE:
This is what I could find in the FASTagiout logfile:
- Code: Select all
2014-06-10 18:56:50|VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2014-06-10 18:56:50|VDfastAGI|begin|Perl Environment Dump:
2014-06-10 18:56:50|VDfastAGI|begin|0|--debug
2014-06-10 18:56:50|VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|16|||0|
2014-06-10 18:56:50|VDfastAGI|begin|AGI Environment Dump:
2014-06-10 18:56:50|VDfastAGI|begin| -- accountcode =
2014-06-10 18:56:50|VDfastAGI|begin| -- callerid = 43650123123123
2014-06-10 18:56:50|VDfastAGI|begin| -- calleridname = 43650123123123
2014-06-10 18:56:50|VDfastAGI|begin| -- callingani2 = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callingpres = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callingtns = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- callington = 0
2014-06-10 18:56:50|VDfastAGI|begin| -- channel = SIP/lcx-00000043
2014-06-10 18:56:50|VDfastAGI|begin| -- context = trunkinbound
2014-06-10 18:56:50|VDfastAGI|begin| -- dnid = 431234567
2014-06-10 18:56:50|VDfastAGI|begin| -- enhanced = 0.0
2014-06-10 18:56:50|VDfastAGI|begin| -- extension = h
2014-06-10 18:56:50|VDfastAGI|begin| -- language = en
2014-06-10 18:56:50|VDfastAGI|begin| -- network = yes
2014-06-10 18:56:50|VDfastAGI|begin| -- network_script = call_log--HVcauses--PRI-----NODEBUG-----16---------------
2014-06-10 18:56:50|VDfastAGI|begin| -- priority = 1
2014-06-10 18:56:50|VDfastAGI|begin| -- rdnis = unknown
2014-06-10 18:56:50|VDfastAGI|begin| -- request = agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------
2014-06-10 18:56:50|VDfastAGI|begin| -- threadid = 139960765519616
2014-06-10 18:56:50|VDfastAGI|begin| -- type = SIP
2014-06-10 18:56:50|VDfastAGI|begin| -- uniqueid = 1402419410.104
2014-06-10 18:56:50|VDfastAGI|begin| -- version = 1.8.23.0-vici
2014-06-10 18:56:50|VDfastAGI|begin|AGI Variables: |1402419410.104|SIP/lcx-00000043|h|SIP|43650123123123|
2014-06-10 18:56:50|VDfastAGI|call_log|Process to run: |agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------|call_log|END|
2014-06-10 18:56:50|VDfastAGI|call_log||CALL HUNG UP|
2014-06-10 18:56:50|VDfastAGI|call_log|URL HVcauses: |PRI|NODEBUG|16|||0|
2014-06-10 18:56:50|VDfastAGI|call_log||DELETE from live_inbound where uniqueid IN('1402419410.104','1402419410.104') and server_ip='10.10.20.17'|
2014-06-10 18:56:50|VDfastAGI|call_log|+++++ CALL LOG HUNGUP: |1402419410.104|SIP/lcx-00000043|h|2014-06-10 18:56:50|min: |
2014-06-10 18:56:50|VDfastAGI|call_log|DEBUG: NODEBUG
2014-06-10 18:56:50|VDfastAGI|call_log|VD_hangup : 43650123123123 SIP/lcx-00000043 1 52
2014-06-10 18:56:50|VDfastAGI|call_log||SELECT lead_id,callerid,campaign_id,alt_dial,stage,UNIX_TIMESTAMP(call_time),uniqueid,status,call_time,phone_code,phone_number,queue_position FROM vicidial_auto_calls where uniqueid = '1402419410.104' or callerid = '43650123123123' limit 1;|
2014-06-10 18:56:50|VDfastAGI|call_log|VD hangup: no VDAC record found: 1402419410.104 43650123123123