I am having asterisk-1.2.24 and astguiclient-2.0.3. I have follow the steps of Apendix C for inbound closer campaign. Agent is not getting incoming calls.
When i am getting the calls on asterisk below is the CLI :
== Manager 'sendcron' logged off from 192.168.101.243
== Manager 'sendcron' logged off from 192.168.101.243
-- Executing Ringing("SIP/9566572336-b7d04de0", "") in new stack
-- Executing Wait("SIP/9566572336-b7d04de0", "1") in new stack
-- Executing Answer("SIP/9566572336-b7d04de0", "") in new stack
-- Executing AGI("SIP/9566572336-b7d04de0", "agi-VDADcloser_inboundCIDlookup.agi|inbell-----9566572336-----Closer---------------999-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCIDlookup.agi
Apr 21 19:06:42 WARNING[4695]: chan_sip.c:1228 retrans_pkt: Maximum retries exceeded on transmission
45748-3354717825-718363@VS-NT2.voip-services.net for seqno 1 (Critical Response)
Apr 21 19:06:42 WARNING[4695]: chan_sip.c:1245 retrans_pkt: Hanging up call
45748-3354717825-718363@VS-NT2.voip-services.net - no reply to our critical packet.
== Spawn extension (default, 9566572336, 4) exited non-zero on 'SIP/9566572336-b7d04de0'
-- Executing DeadAGI("SIP/9566572336-b7d04de0", "agi://192.168.101.243:4577/call_log") in new stack
-- AGI Script
agi://192.168.101.243:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/9566572336-b7d04de0", "agi://192.168.101.243:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script
agi://192.168.101.243:4577/VD_hangup--H ... ----------) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 192.168.101.243
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 192.168.101.243
== Manager 'sendcron' logged off from 192.168.101.243
== Manager 'sendcron' logged off from 192.168.101.243
There is also another inbound 222222222 coming from 192.168.101.225
Below is the output of agiout
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.101.242' and campaign_id = 'INBELL' and call_time < "2008-04-21 19:09:57" and lead_id != '6252';|
2008-04-21 19:09:57|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: |0E0|INBELL|UPDATE vicidial_live_agents set status='QUEUE',lead_id='6252',uniqueid='1208801396.6', channel='SIP/johny-b7d0d3e0', callerid='Y0421190957000006252' where status IN('CLOSER','READY') and server_ip='192.168.101.242' and campaign_id REGEXP '(CLOSER|BLEND|INBND|_C$|_B$|_I$)' and closer_campaigns LIKE "% INBELL %" and last_update_time > '19700101005955' order by last_call_finish limit 1;|
-- INSERT -- 2199,1
Please help me what could be the problem.
THanks.