Outbound answered calls not transfering to agents

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Outbound answered calls not transfering to agents

Postby pargat » Tue Mar 13, 2018 4:27 am

Hi,

My setup is as follows:

vicibox8 fresh install with VERSION: 2.14-645a BUILD: 171214-2045 Asterisk 11.25.3-vici, with sangoma single port A101 card for E1 support.
Server is located in Egypt and is to call/receive calls from Egypt. No SIP carriers involved.

I can make and receive manual calls, however when on auto dial mode the calls do get connected but are not passed onto the ready agent. There are two available ready agents to receive the call. All incoming calls are getting passed on to the waiting agents correctly via the ingroups.

The asterisk CLI shows the following:

Code: Select all
[Mar 13 10:58:33]     -- Executing [901551421490@default:1] AGI("Local/901551421490@default-00000167;2", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 13 10:58:33]     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=EGYPTIN))
[Mar 13 10:58:33]     -- <Local/901551421490@default-00000167;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 13 10:58:33]     -- Executing [901551421490@default:2] Set("Local/901551421490@default-00000167;2", "CALLERID(num)=225985651") in new stack
[Mar 13 10:58:33]     -- Executing [901551421490@default:3] Dial("Local/901551421490@default-00000167;2", "DAHDI/i1/01551421490,,To") in new stack
[Mar 13 10:58:33]     -- Requested transfer capability: 0x00 - SPEECH
[Mar 13 10:58:33]     -- Called DAHDI/i1/01551421490
[Mar 13 10:58:33]     -- DAHDI/i1/01551421490-1d1 is proceeding passing it to Local/901551421490@default-00000167;2
[Mar 13 10:58:33]     -- DAHDI/i1/01551421490-1d1 is making progress passing it to Local/901551421490@default-00000167;2
[Mar 13 10:58:34]     -- DAHDI/i1/01551421490-1d1 is ringing
[Mar 13 10:58:36]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:58:50]   == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 10:58:51]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:59:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:59:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:59:01]   == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 10:59:02]   == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 10:59:06]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:59:06]   == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 10:59:12]     -- DAHDI/i1/01551421490-1d1 answered Local/901551421490@default-00000167;2
[Mar 13 10:59:12]        > Channel Local/901551421490@default-00000167;1 was answered
[Mar 13 10:59:12] ERROR[2483]: utils.c:1446 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 10:59:12] ERROR[2483]: utils.c:1446 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 10:59:12]   == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 10:59:12]     -- Executing [8368@default:1] AGI("DAHDI/i1/01551421490-1d1", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 13 10:59:12]     -- Executing [h@default:1] AGI("Local/901551421490@default-00000167;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----39-----0") in new stack
[Mar 13 10:59:12]     -- <DAHDI/i1/01551421490-1d1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 13 10:59:12]     -- Executing [8368@default:2] AGI("DAHDI/i1/01551421490-1d1", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
[Mar 13 10:59:12]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Mar 13 10:59:13]     -- <Local/901551421490@default-00000167;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----39-----0 completed, returning 0
[Mar 13 10:59:13]   == Spawn extension (default, 901551421490, 3) exited non-zero on 'Local/901551421490@default-00000167;2'
[Mar 13 10:59:22]     -- <DAHDI/i1/01551421490-1d1>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4
[Mar 13 10:59:22]   == Spawn extension (default, 8368, 2) exited non-zero on 'DAHDI/i1/01551421490-1d1'
[Mar 13 10:59:22]     -- Executing [h@default:1] AGI("DAHDI/i1/01551421490-1d1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar 13 10:59:22]     -- <DAHDI/i1/01551421490-1d1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Mar 13 10:59:22]     -- Hungup 'DAHDI/i1/01551421490-1d1'
[Mar 13 10:59:22]   == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 10:59:22] NOTICE[2609]: manager.c:3407 action_hangup: Request to hangup non-existent channel: DAHDI/i1/01551421490-1d1
[Mar 13 10:59:23]   == Manager 'sendcron' logged off from 127.0.0.1


The contents of the /var/log/astguiclient/agiout file for the corresponding call is

Code: Select all
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|callerID changed: unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- accountcode =
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- arg_1 = NORMAL-----LB
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- callerid = unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- calleridname = unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- callingpres = 67
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- callington = 0
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- channel = DAHDI/i1/01551421490-1d1
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- context = default
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- language = en
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- priority = 2
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- threadid = 140325468485376
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- type = DAHDI
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1520931513.1428
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi| -- version = 11.25.3-vici
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|AGI Variables: |1520931513.1428|DAHDI/i1/01551421490-1d1|8368|DAHDI|unknown|unknown|2|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |0|2018-03-13 10:59:12|11.25.3-vici|2|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_live_agents where callerid='unknown';|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where callerid='unknown' and status IN('LIVE','XFER');|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|--    VDAD : |0E0|update of vac table: unknown
|UPDATE vicidial_auto_calls set uniqueid='1520931513.1428', channel='DAHDI/i1/01551421490-1d1',status='LIVE',stage='LIVE-0' where callerid='unknown' order by call_time desc limit 1;|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|--    NO VDAC FOUND!!!!!: unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|--    NO VDM FOUND!!!!!!!!!!: unknown
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|1|VDAC-reinsert|INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage,queue_priority)  values('192.168.1.120','','LIVE','0','1520931513.1428','unknown','DAHDI/i1/01551421490-1d1','','','2018-03-13 10:59:12','OUT','LIVE-0.25','')|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '0' and campaign_id = '' and call_time < "";|
2018-03-13 10:59:12|agi-VDAD_ALL_outbound.agi|WWWWWWWW VDAD XFER BALANCE WAIT: |0||DAHDI/i1/01551421490-1d1|unknown|1520931513.1428|
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi||UPDATE vicidial_log FORCE INDEX(lead_id) set status='DROP',end_epoch='1520931562',length_in_sec='9',term_reason='QUEUETIMEOUT' where lead_id = '0' and uniqueid LIKE "1520931513%";|
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi|--    VDAD vicidial_log update: |0E0|1520931513.1428
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi||UPDATE vicidial_list set status='DROP' where lead_id = '0';|
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi|--    VDAD vicidial_list update: |0E0|0
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi|--    VDAD vac record deleted: |1||
2018-03-13 10:59:22|agi-VDAD_ALL_outbound.agi|--    VDCL call_hungup timout: |0|VH0313105922||DAHDI/i1/01551421490-1d1|insert to vicidial_manager
 


Please help to solve this issue.

thanks in advance!!
pargat
 
Posts: 54
Joined: Mon Jun 20, 2011 4:25 am

Re: Outbound answered calls not transfering to agents

Postby mflorell » Tue Mar 13, 2018 5:03 am

Somehow, the caller ID name of the call is getting wiped out, and since this is what VICIdial uses to know what lead the call is, it is unable to route the call.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 68 guests