small fix for last api change

git-svn-id: svn://192.168.202.10@3831 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2024-04-26 02:32:12 +00:00
parent 249d8de958
commit d073e25a6a
+1 -1
View File
@@ -4257,7 +4257,7 @@ if ($function == 'transfer_conference')
if (preg_match("/YES/i",$md_check))
{
# check for still-active previous 3-way calls from this agent and send error if any are found
$stmt = "select count(*) from vicidial_3way_press_live where user='$agent_user' and status!='HUNGUP';";
$stmt = "select count(*) from vicidial_3way_press_live where user='$agent_user' and status NOT IN('HUNGUP','DEFEATED','TRANSFER','TOOSLOW','DECLINED');";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$VDTW_live_ct = mysqli_num_rows($rslt);