Not able to get INBOUND numbers

All installation and configuration problems and questions

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

Not able to get INBOUND numbers

Postby prince.fer » Mon Apr 21, 2008 1:32 pm

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.
prince.fer
 
Posts: 146
Joined: Fri Jun 30, 2006 10:13 am

Postby pylinuxian » Mon Apr 21, 2008 1:41 pm

i might be not entitled to solve your problem but i can see this error thru your log file :
No available agent found

so are the agents logged on to thier sessions ? havce they recieved a ring from vicidial server ?

if yes :

can they make a manual call ?
pylinuxian
 
Posts: 147
Joined: Tue Feb 26, 2008 2:21 pm

Postby mflorell » Mon Apr 21, 2008 6:50 pm

post contents of vicidial_live_agents table when this occurs.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

hi

Postby prince.fer » Tue Apr 22, 2008 4:54 am

mysql> select * from vicidial_live_agents;
+---------------+------+-----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+----------+
| 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 | comments |
+---------------+------+-----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+----------+
| 258 | 1000 | 192.168.101.242 | 8600051 | SIP/1000 | PAUSED | 0 | CLOSER | 0.0000000 | NULL | NULL | 13773583 | 2008-04-22 10:12:25 | 2008-04-22 10:51:31 | 2008-04-22 10:12:25 | INCALL - | NULL | 1 | NULL |
+---------------+------+-----------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+----------+
1 row in set (0.01 sec)

I have already click on RESUME button after login. Than also in status it is showing PAUSED in the above status field.
prince.fer
 
Posts: 146
Joined: Fri Jun 30, 2006 10:13 am

Postby mflorell » Tue Apr 22, 2008 9:09 am

I do not see INBELL as a selected in-group for that agent. Is is a valid inbound-group in your system that the campaign is set to use?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

hi

Postby prince.fer » Sat Apr 26, 2008 1:46 pm

THanks matt it was my mistake instead of INCALL i wrote INBELL.


THanks a lot.
prince.fer
 
Posts: 146
Joined: Fri Jun 30, 2006 10:13 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 268 guests