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:
@@ -4257,7 +4257,7 @@ if ($function == 'transfer_conference')
|
|||||||
if (preg_match("/YES/i",$md_check))
|
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
|
# 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";}
|
if ($DB) {echo "$stmt\n";}
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
$VDTW_live_ct = mysqli_num_rows($rslt);
|
$VDTW_live_ct = mysqli_num_rows($rslt);
|
||||||
|
|||||||
Reference in New Issue
Block a user