by koalatelecom » Thu Aug 24, 2006 2:15 am
THIS IS THE ASTERISK OUTPUT
<b>Still no luck, I would love ANY help.</b>
It only does not work when a call goes into a queue system, it never arrives at the agent irrespective of how many agents later become available.
----+------------+--------------+---------------------+-----------+
| auto_call_id | server_ip | campaign_id | status | lead_id | uniqueid | callerid | channel | phone_code | phone_number | call_time | call_type |
+--------------+----------------+-------------+--------+---------+--------------------+----------------------+-------------------+------------+--------------+---------------------+-----------+
| 115 | 203.122.248.64 | CL_TECH | LIVE | 137 | 1156403621.5699999 | Y0824164342000000137 | SIP/5060-091e5ac8 | 1 | 0881278104 | 2006-08-24 16:43:42 | IN |
+--------------+----------------+-------------+--------+---------+--------------------+----------------------+---------------
+---------------+------+----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+--------------------+----------------+------------+
| live_agent_id | user | server_ip | conf_exten | extension | status | lead_id | campaign_id | uniqueid | callerid | channel | random_id | last_call_time | last_update_time | last_call_finish | closer_campaigns | call_server_ip | user_level |
+---------------+------+----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+--------------------+----------------+------------+
| 34 | 1010 | 203.122.248.64 | 8600051 | SIP/1010 | CLOSER | 0 | CLOSER | 0.0000000 | | | 11346395 | 2006-08-24 16:39:00 | 2006-08-24 16:45:15 | 2006-08-24 16:39:00 | CL_TECH TECHRES - | NULL | 8 |
+---------------+------+----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+--------------------+----------------+------------+
-- Executing Answer("SIP/5060-091e5ac8", "") in new stack
-- Executing Wait("SIP/5060-091e5ac8", "1") in new stack
-- Executing AGI("SIP/5060-091e5ac8", "call_logCID.agi|0290372002-----"0881278104" <0881278104>-----0881278104-----0881278104") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_logCID.agi
+++++ CALL LOG START : |1156403621.57|SIP/5060-091e5ac8|0290372002|SIP|0881278104|2006-08-24 16:43:42
-- AGI Script call_logCID.agi completed, returning 0
-- Executing AGI("SIP/5060-091e5ac8", "agi-VDADcloser_inboundCID.agi|CL_TECH-----7275555134-----Closer-----park----------101-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi
Perl Environment Dump:
0|CL_TECH-----7275555134-----Closer-----park----------101-----1|
AGI Environment Dump:
-- accountcode =
-- callerid = 0881278104
-- calleridname = 0881278104
-- callingani2 = 0
-- callingpres = 0
-- callingtns = 0
-- callington = 0
-- channel = SIP/5060-091e5ac8
-- context = koala-ext-did
-- dnid = 0290372002
-- enhanced = 0.0
-- extension = 0290372002
-- language = en
-- priority = 4
-- rdnis = unknown
-- request = agi-VDADcloser_inboundCID.agi
-- type = SIP
-- uniqueid = 1156403621.57
INBOUND CALL VDCL STARTED
+++++ INBOUND CALL VDCL STARTED : |1156403621.57|CL_TECH|SIP/5060-091e5ac8|0290372002|SIP|0881278104-7275555134|2006-08-24 16:43:42
AGI Environment Dump: |1156403621.57|SIP/5060-091e5ac8|0290372002|SIP|0881278104|
INBOUND CALL RECEIVED IN FROM VDCL: 0881278104 SIP/5060-091e5ac8
+++++ INBOUND VDCL START : |1156403621.57|SIP/5060-091e5ac8|0290372002|SIP|2006-08-24 16:43:42
|INSERT INTO vicidial_list
(entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('2006-08-24 16:43:42','20060824164342','INBND','7275555134','CL_TECH','VDCL','101','Y','1','0881278104','CL_TECH','1','-5.00','0881278104');|137|
FAIL (unexpected result '')
callerID changed: Y0824164342000000137
|INSERT INTO vicidial_auto_calls values('','203.122.248.64','CL_TECH','LIVE','137','1156403621.57','Y0824164342000000137','SIP/5060-091e5ac8','1','0881278104','2006-08-24 16:43:42','IN')|
|INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('137','CL_TECH','2006-08-24 16:43:42','1156403622','QUEUE','1','0881278104','VDCL','N')|
-- VDCL : |137|insert to vicidial_closer_log
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|0|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|1|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|2|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|3|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|4|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|5|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|6|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|7|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|8|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='203.122.248.64' and campaign_id = 'CL_TECH' and call_time < "2006-08-24 16:43:42" and lead_id != '137';|
-- VDAD get agent: |360|9|0|update of vla table: CL_TECH|203.122.248.64
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='137',uniqueid='1156403621.57', channel='SIP/5060-091e5ac8', callerid='Y0824164342000000137' where status IN('CLOSER','READY') and server_ip='203.122.248.64' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_TECH %" and last_update_time > '19700101092955' order by random_id limit 1;|
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'sendcron' logged on from 203.122.248.64
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'sendcron' logged on from 203.122.248.64
== Manager 'sendcron' logged off from 203.122.248.64
== Manager 'sendcron' logged off from 203.122.248.64