Two customer on the phone
Posted: Fri Aug 15, 2014 9:57 am
Hello guys!
i've got a little problem.
I make a little change in vicidial.php function all_refresh()
i check every 30 seconds (if agent is waiting for a call) if there is a personal callback, that works fine!
the problem is, sometimes the agent gets two calls.
perhaps the status pause comes to late and he gets a normal outbound call?
does anybody has a good idea what the problem can be?
i've got a little problem.
I make a little change in vicidial.php function all_refresh()
i check every 30 seconds (if agent is waiting for a call) if there is a personal callback, that works fine!
the problem is, sometimes the agent gets two calls.
perhaps the status pause comes to late and he gets a normal outbound call?
does anybody has a good idea what the problem can be?
- Code: Select all
function all_refresh()
.....
.....
if (privat_timer == '30' && VICIDiaL_closer_blended == '1' && VDRP_stage == 'READY' && MD_channel_look==0 && VD_live_customer_call==0 && VD_live_customer_call==0 && open_dispo_screen==0 && AgentDispoing==0)
{
//set agent to pause
AutoDial_ReSume_PauSe('VDADpause');
showDiv('CallBacKsLisTBox');
CalLBacKsLisTCheck();
hideDiv('NeWManuaLDiaLBox');
window.setTimeout("new_callback_call("+array_value[1]+","+array_value[2]+")",1000);
delete xmlhttp;
return false;
}