Calls Active: Show gateway name instead of uuid in Application data string, change to jQuery ajax refresh.

This commit is contained in:
Nate Jones
2015-05-18 16:44:38 +00:00
parent bc7e7f1551
commit 23f0d8ed1b
5 changed files with 55 additions and 52 deletions
+7
View File
@@ -170,6 +170,13 @@ else {
//remove the '+' because it breaks the call recording
$cid_num = str_replace("+", "", $cid_num);
//replace gateway uuid with name
if (sizeof($_SESSION['gateways']) > 0) {
foreach ($_SESSION['gateways'] as $gateway_uuid => $gateway_name) {
$application_data = str_replace($gateway_uuid, $gateway_name, $application_data);
}
}
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";