Agentdirect not work

All installation and configuration problems and questions

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

Agentdirect not work

Postby luuha » Thu Oct 29, 2009 8:58 am

Hi,
I use Agentdirect to transfer both call and web popup.
Agent has choose both Agentdirect and two in group I have create when logon. But when he transfer call and web popup to specific agent, it come to agent with oldest call finish. In this log 305 want to transfer to 302 (with 'Local/58600058) but it then transfer to other agent.
In asterisk message log I found that

[Oct 29 14:14:45] VERBOSE[27343] logger.c: -- Executing [990009*18001260**106432**0838257825*305*302*@default:1] Answer("Zap/4-1", "") in new stack
[Oct 29 14:14:45] VERBOSE[27343] logger.c: -- Executing [990009*18001260**106432**0838257825*305*302*@default:2] AGI("Zap/4-1", "agi-VDAD_ALL_inbound.agi|CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1") in new stack
[Oct 29 14:14:45] VERBOSE[27343] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Oct 29 14:14:45] VERBOSE[28027] logger.c: == Parsing '/etc/asterisk/manager.conf': [Oct 29 14:14:45] VERBOSE[28027] logger.c: Found
[Oct 29 14:14:45] VERBOSE[28027] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
[Oct 29 14:14:45] VERBOSE[27987] logger.c: == Spawn extension (default, 58600058, 1) exited non-zero on 'Local/58600058@default-123e,2'
[Oct 29 14:14:45] VERBOSE[27987] logger.c: -- Executing [h@default:1] DeadAGI("Local/58600058@default-123e,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Oct 29 14:14:45] VERBOSE[27987] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Oct 29 14:14:45] VERBOSE[27988] logger.c: == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600058@default-123e,1'
[Oct 29 14:14:45] VERBOSE[27988] logger.c: -- Executing [h@default:1] DeadAGI("Local/58600058@default-123e,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Oct 29 14:14:45] VERBOSE[27988] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Oct 29 14:14:45] VERBOSE[27343] logger.c: -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 29 14:14:45] VERBOSE[27343] logger.c: -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 29 14:14:45] VERBOSE[28030] logger.c: == Parsing '/etc/asterisk/manager.conf': [Oct 29 14:14:45] VERBOSE[28030] logger.c: Found
[Oct 29 14:14:45] VERBOSE[28030] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
[Oct 29 14:14:45] VERBOSE[28031] logger.c: -- Executing [192*168*215*025*78600057@default:1] Goto("Local/192*168*215*025*78600057@default-0f24,2", "default|78600057|1") in new stack
[Oct 29 14:14:45] VERBOSE[28031] logger.c: -- Goto (default,78600057,1)
[Oct 29 14:14:45] VERBOSE[28031] logger.c: -- Executing [78600057@default:1] MeetMe("Local/192*168*215*025*78600057@default-0f24,2", "8600057|Fq") in new stack
[Oct 29 14:14:45] DEBUG[28031] app_meetme.c: Placed channel Local/192*168*215*025*78600057@default-0f24,2 in ZAP conf 1019
[Oct 29 14:14:45] VERBOSE[28030] logger.c: > Channel Local/192*168*215*025*78600057@default-0f24,1 was answered.
[Oct 29 14:14:45] VERBOSE[28032] logger.c: -- Executing [8304@default:1] Answer("Local/192*168*215*025*78600057@default-0f24,1", "") in new stack
[Oct 29 14:14:45] VERBOSE[28032] logger.c: -- Executing [8304@default:2] Playback("Local/192*168*215*025*78600057@default-0f24,1", "ding") in new stack
[Oct 29 14:14:45] VERBOSE[28032] logger.c: -- <Local/192*168*215*025*78600057@default-0f24,1> Playing 'ding' (language 'en')
luuha
 
Posts: 16
Joined: Wed May 27, 2009 10:10 pm

Postby mflorell » Thu Oct 29, 2009 2:13 pm

vicidial.php version?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby luuha » Thu Oct 29, 2009 7:16 pm

VERSION: 2.0.5-203 BUILD: 90323-1554
luuha
 
Posts: 16
Joined: Wed May 27, 2009 10:10 pm

Postby mflorell » Sat Oct 31, 2009 2:36 am

Please post the queue priority of each in-group as well as the agiout logfile output for this call.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Sat Oct 31, 2009 8:28 am

luuha wrote:VERSION: 2.0.5-203 BUILD: 90323-1554
Also please post your installation method and asterisk version and any other software that may be installed on the box (freepbx, trixbox, etc.) if any.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby luuha » Sun Nov 01, 2009 10:05 am

Queue priority for two Ingroup I have created is 0, Agentdirect is 99.
I have install following scratch guide in http://astguiclient.sourceforge.net/Ubuntu_Install.txt.
Asterisk is 1.4.21.2.
No others software on this box.
The out put of agiout:

2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|Perl Environment Dump:
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|0|CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|callerID changed: J1029141445000106432
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- accountcode =
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- callerid = unknown
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- calleridname = Y1029141432000106432
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- callingani2 = 0
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- callingpres = 3
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- callingtns = 0
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- callington = 0
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- channel = Zap/4-1
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- context = default
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- dnid = 35207000
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- enhanced = 0.0
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- extension = 990009*18001260**106432**0838257825*305*302*
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- language = en
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- priority = 2
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- rdnis = unknown
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- request = agi-VDAD_ALL_inbound.agi
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- type = Zap
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi| -- uniqueid = 1256800294.3018
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|AGI Variables: |1256800294.3018|Zap/4-1|990009*18001260**106432**0838257825*305*302*|Zap|J1029141445000106432|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|+++++ INBOUND CALL VDCL STARTED : |18001260|J1029141445000106432-|2009-10-29 14:14:45
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||SELECT campaign_id FROM vicidial_campaigns where active='Y' and campaign_allow_inbound='Y';|106432|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|callerID changed: Y1029141445000106432
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('106432','18001260','2009-10-29 14:14:45','1','0838257825','302','VDXL')|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDXL : |106432|143|insert to vicidial_xfer_log
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_auto_calls SET server_ip='192.168.215.25', campaign_id='18001260', status='LIVE', lead_id='106432', uniqueid='1256800294.3018', callerid='Y1029141445000106432', channel='Zap/4-1', phone_code='1', phone_number='0838257825', call_time='2009-10-29 14:14:45', call_type='IN', stage='LIVE-0', queue_priority='0' ;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_closer_log SET lead_id='106432', campaign_id='18001260', call_date='2009-10-29 14:14:45', start_epoch='1256800485', status='QUEUE', phone_code='1', phone_number='0838257825', user='VDCL', processed='N', xfercallid='143', uniqueid='1256800294.3018' ;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDCL : |106432|143|1481|insert to vicidial_closer_log
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = '18001260' and call_time < "2009-10-29 14:14:45" and lead_id != '106432' ;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and lead_id != '106432' and ( (queue_priority > '0') or (queue_priority = '0' and call_time < "2009-10-29 14:14:45") );|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|1|UPDATE vicidial_live_agents set status='QUEUE',lead_id='106432',uniqueid='1256800294.3018', channel='Zap/4-1', callerid='Y1029141445000106432', call_server_ip='192.168.215.25',comments='INBOUND' where status IN('CLOSER','READY') and lead_id<1 and campaign_id IN('TEST_IN','1800') and closer_campaigns LIKE "% 18001260 %" and last_update_time > '20091029141440' order by last_call_finish limit 1;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDAD get agent: |180|0|1|1|update of vla table: 18001260|
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='106432',uniqueid='1256800294.3018', channel='Zap/4-1', callerid='Y1029141445000106432', call_server_ip='192.168.215.25',comments='INBOUND' where status IN('CLOSER','READY') and lead_id<1 and campaign_id IN('TEST_IN','1800') and closer_campaigns LIKE "% 18001260 %" and last_update_time > '20091029141440' order by last_call_finish limit 1;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|314|2009-10-29 14:12:18|SELECT conf_exten,user,extension,server_ip,last_call_time FROM vicidial_live_agents where status IN('QUEUE','INCALL') and campaign_id IN('TEST_IN','1800') and callerid='Y1029141445000106432' and channel='Zap/4-1' order by last_call_time limit 1;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDCL XFER REMOTE: |1|update of vac table: Y1029141445000106432
|UPDATE vicidial_auto_calls set status='CLOSER', stage='CLOSER-0' where callerid='Y1029141445000106432';|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDXL vicidial_xfer_log update: |1|106432|314
|UPDATE vicidial_xfer_log set closer='314' where lead_id = '106432' order by call_date desc limit 1;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- closer log : |1|update of vcl table: 106432
|UPDATE vicidial_closer_log set user='314' where lead_id='106432' order by call_date desc limit 1;|
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|-- VDCL agent alert: |VH10291414458600057|192*168*215*025*78600057|Zap/4-1|insert to vicidial_manager
2009-10-29 14:14:45|agi-VDAD_ALL_inbound.agi|exiting VDAD app, transferring call to 192*168*215*025*8600057
luuha
 
Posts: 16
Joined: Wed May 27, 2009 10:10 pm

Postby mflorell » Sun Nov 01, 2009 5:22 pm

I don't see any AGENTDIRECT queueing calls in this output.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Sun Nov 01, 2009 6:25 pm

is it possible you were using the "Phrase" agentdirect thinking that somehow the agentdirect in-group is "automagically" used whenever a transfer is invoked, without actually using the agentdirect transfer explicitly?

what buttons are you pushing to cause this "agentdirect" transfer?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby luuha » Sun Nov 01, 2009 9:34 pm

I use the button "Local closer" with the number of agent in transfer input.
luuha
 
Posts: 16
Joined: Wed May 27, 2009 10:10 pm

Postby mflorell » Sun Nov 01, 2009 11:36 pm

And what in-group did you have selected?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby luuha » Thu Nov 05, 2009 2:44 am

We choose random the two other group. We have changed to choose AgentDirect. The transfer call is ok now.
Thanks.
luuha
 
Posts: 16
Joined: Wed May 27, 2009 10:10 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 95 guests