Fix for API hangup post-call survey issue #1338 in vicidial.php
git-svn-id: svn://192.168.202.10@3548 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -681,10 +681,11 @@
|
|||||||
# 210719-0907 - Added new state override options for 24-Hour Call Count Limits
|
# 210719-0907 - Added new state override options for 24-Hour Call Count Limits
|
||||||
# 210720-0850 - Fixes for inconsistent hangup_xfer_record_start behavior
|
# 210720-0850 - Fixes for inconsistent hangup_xfer_record_start behavior
|
||||||
# 210913-0831 - Fix for alternate number auto-dial logging issues
|
# 210913-0831 - Fix for alternate number auto-dial logging issues
|
||||||
|
# 211223-0824 - Fix for API hangup post-call survey issue #1338
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.14-649c';
|
$version = '2.14-650c';
|
||||||
$build = '210913-0831';
|
$build = '211223-0824';
|
||||||
$php_script = 'vicidial.php';
|
$php_script = 'vicidial.php';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=98;
|
$mysql_log_count=98;
|
||||||
@@ -7116,7 +7117,17 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|||||||
WaitingForNextStep=0;
|
WaitingForNextStep=0;
|
||||||
custchannellive=0;
|
custchannellive=0;
|
||||||
|
|
||||||
dialedcall_send_hangup();
|
if ( (inbound_post_call_survey=='ENABLED') && (inbound_survey_participate=='Y') )
|
||||||
|
{
|
||||||
|
document.vicidial_form.xfernumber.value = '83068888888888883999';
|
||||||
|
document.vicidial_form.xferoverride.checked=true;
|
||||||
|
mainxfer_send_redirect('XfeRBLIND','" + lastcustchannel + "','" + lastcustserverip + "','','','','YES');
|
||||||
|
button_click_log = button_click_log + "" + SQLdate + "-----APIhangupSurveyOR---" + inbound_post_call_survey + " " + inbound_survey_participate + " " + document.vicidial_form.xfernumber.value + "|";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dialedcall_send_hangup();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ( (APIStatuS.length < 1000) && (APIStatuS.length > 0) && (AgentDispoing > 1) && (APIStatuS != '::::::::::') )
|
if ( (APIStatuS.length < 1000) && (APIStatuS.length > 0) && (AgentDispoing > 1) && (APIStatuS != '::::::::::') )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user