diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php
index 0e12346361..574d999610 100644
--- a/app/conferences/conference_edit.php
+++ b/app/conferences/conference_edit.php
@@ -193,7 +193,7 @@
$dialplan_xml = "\n";
$dialplan_xml .= " \n";
$dialplan_xml .= " \n";
- $dialplan_xml .= " \n";
+ $dialplan_xml .= " \n";
$dialplan_xml .= " \n";
$dialplan_xml .= "\n";
diff --git a/app/conferences_active/conference_interactive_inc.php b/app/conferences_active/conference_interactive_inc.php
index 046b1e79d4..1f83c483e5 100644
--- a/app/conferences_active/conference_interactive_inc.php
+++ b/app/conferences_active/conference_interactive_inc.php
@@ -44,12 +44,15 @@
$text = $language->get();
//get the http get or post and set it as php variables
- if (is_uuid($_REQUEST["c"])) {
- $conference_uuid = $_REQUEST["c"];
+ if (is_numeric($_REQUEST["c"])) {
+ $conference_id = $_REQUEST["c"];
+ }
+ elseif (is_uuid($_REQUEST["c"])) {
+ $conference_id = $_REQUEST["c"];
}
//replace the space with underscore
- $conference_name = $conference_uuid.'@'.$_SESSION['domain_name'];
+ $conference_name = $conference_id.'@'.$_SESSION['domain_name'];
//create the conference list command
$switch_cmd = "conference '".$conference_name."' xml_list";
diff --git a/app/conferences_active/conferences_active_inc.php b/app/conferences_active/conferences_active_inc.php
index 33f8c5a9f3..ce87a4c194 100644
--- a/app/conferences_active/conferences_active_inc.php
+++ b/app/conferences_active/conferences_active_inc.php
@@ -85,7 +85,9 @@
$name_array = explode('@', $name);
if ($name_array[1] == $_SESSION['domain_name']) {
$conference_uuid = $name_array[0];
- if (is_uuid($conference_uuid)) {
+
+ //if uuid then lookup the conference name
+ if (isset($name_array[0]) && is_uuid($name_array[0])) {
//check for the conference center room
$sql = "select ";
$sql .= "cr.conference_room_name, ";
@@ -124,9 +126,14 @@
}
}
+ //if numeric use the conference extension as the name
+ if (isset($name_array[0]) && is_numeric($name_array[0])) {
+ $conference_name = $name_array[0];
+ }
if (permission_exists('conference_interactive_view')) {
$list_row_url = 'conference_interactive.php?c='.urlencode($conference_uuid);
}
+
echo "
\n";
echo " ";
if (permission_exists('conference_interactive_view')) {
@@ -151,4 +158,4 @@
echo "
";
}
-?>
\ No newline at end of file
+?>
|