[SOLVED] inbound not getting the call to the agent

All installation and configuration problems and questions

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

[SOLVED] inbound not getting the call to the agent

Postby kissas » Wed May 07, 2008 4:10 pm

debug :

Code: Select all
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|Perl Environment Dump:
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|0|CID-----SO-----NAME-----786871XXXX-----Closer-----park----------999-----NAME
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- accountcode =
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callerid = 102
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- calleridname = Pruebas
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingani2 = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingpres = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingtns = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callington = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- channel = SIP/102-b7dc50b0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- context = numberplan-custom-1
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- dnid = 800
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- enhanced = 0.0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- extension = 800
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- language = en
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- priority = 4
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- rdnis = unknown
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- request = agi-VDAD_ALL_inbound.agi
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- type = SIP
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- uniqueid = 1210193965.42270
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|AGI Variables: |1210193965.42270|SIP/102-b7dc50b0|800|SIP|Closer|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|+++++ INBOUND CALL VDCL STARTED : |NAME|Closer-786871XXXX|2008-05-07 17:59:26
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||SELECT campaign_id FROM vicidial_campaigns where active='Y' and campaign_allow_inbound='Y';||
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|callerID changed: Y0507175926000000000
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('','NAME','2008-05-07 17:59:26','NAME','','786871XXXX','VDXL')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|--    VDXL : ||insert to vicidial_xfer_log
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('192.168.1.250','NAME','LIVE','','1210193965.42270','Y0507175926000000000','SIP/102-b7dc50b0','NAME','','2008-05-07 17:59:26','IN','LIVE-0')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('','NAME','2008-05-07 17:59:26','1210193966','QUEUE','NAME','','VDCL','N')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|--    VDCL : ||insert to vicidial_closer_log
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.1.250' and campaign_id = 'NAME' and call_time < "2008-05-07 17:59:26" and lead_id != '';|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|--    VDAD get agent: |1|NAME|UPDATE vicidial_live_agents set status='QUEUE',lead_id='',uniqueid='1210193965.42270', channel='SIP/102-b7dc50b0', callerid='Y0507175926000000000' where status IN('CLOSER','READY') and server_ip='192.168.1.250' and campaign_id IN('NAME') and closer_campaigns LIKE "% NAME %" and last_update_time > '20080507175921' order by random_id limit 1;|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|NNNNN No available local agent found



dial plan :

Code: Select all
exten => _800,1,Ringing  ; call ringing         
exten => _800,2,Wait(1)  ; Wait 1 second for CID delivery from PRI
exten => _800,3,Answer  ; Answer the line
exten => _800,4,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----NAME-----786871XXXX-----Closer-----park----------999-----NAME)   
exten => _800,5,Hangup


NAME is not a real name.
and the DID have XXXX in the end to ofuscate.

cheers.
Last edited by kissas on Thu May 08, 2008 12:19 pm, edited 1 time in total.
kissas
 
Posts: 42
Joined: Thu Apr 24, 2008 10:28 am

Postby mflorell » Thu May 08, 2008 4:20 am

Can you post Asterisk CLI output from the same time?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kissas » Thu May 08, 2008 8:56 am

in the CLI is free for errors, i'think is local time problem, the vicidial admin show me one hour less, and the vicidial_live_agent shows one hour less too.

in the forum have one user that have the same problem ( time problem ) and he resolved, but not show how :S


in testing the rc2 now.


EDITED

have rc2 working in production server and is working fine.

the problem was the local time on the server ( mysql ) was taking one hour less from real.

thx
kissas
 
Posts: 42
Joined: Thu Apr 24, 2008 10:28 am


Return to Support

Who is online

Users browsing this forum: No registered users and 281 guests