Update calls_active_inc.php

This commit is contained in:
FusionPBX 2019-06-16 09:36:10 -06:00 committed by GitHub
parent 6ced89ca28
commit 20cdd28bc3
1 changed files with 13 additions and 13 deletions

View File

@ -165,9 +165,9 @@
foreach ($row as $key => $value) {
$$key = $value;
}
if (if_group("superadmin") && isset($_REQUEST['debug'])) {
echo "<tr><td colspan='20'><pre>".print_r($row, true)."</pre></td></tr>";
}
//if (if_group("superadmin") && isset($_REQUEST['debug'])) {
// echo "<tr><td colspan='20'><pre>".print_r(escape($row), true)."</pre></td></tr>";
//}
//get the sip profile
$name_array = explode("/", $name);
@ -196,21 +196,21 @@
//send the html
echo "<tr>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$sip_profile."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$created."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($sip_profile)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$escape(created)."&nbsp;</td>\n";
if ($show == 'all') {
echo "<td valign='top' class='".$row_style[$c]."'>".$domain_name."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($domain_name)."&nbsp;</td>\n";
}
echo "<td valign='top' class='".$row_style[$c]."'>".$tmp_number."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($tmp_number)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_name)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_num)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$dest."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? $application.":".$application_data : null)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$read_codec.":".$read_rate." / ".$write_codec.":".$write_rate."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$secure."&nbsp;</td>\n";
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".$uuid."'));\">".$v_link_label_delete."</a></td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($dest)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? escape($application).":".escape($application_data) : null)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($read_codec).":".escape($read_rate)." / ".escape($write_codec).":".escape($write_rate)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".escape($secure)."&nbsp;</td>\n";
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".escape($uuid)."'));\">".$v_link_label_delete."</a></td>\n";
echo "</tr>\n";
//alternate the row style
$c = ($c) ? 0 : 1;
}