diff --git a/includes/lib_switch.php b/includes/lib_switch.php
index 86ef002b73..0710d77289 100644
--- a/includes/lib_switch.php
+++ b/includes/lib_switch.php
@@ -599,6 +599,47 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
}
unset ($prep_statement);
+ //list conference centers
+ $sql = "select * from v_conference_centers ";
+ $sql .= "where domain_uuid = '$domain_uuid' ";
+ $sql .= "order by conference_center_name asc ";
+ $prep_statement = $db->prepare(check_sql($sql));
+ $prep_statement->execute();
+ $x = 0;
+ $result = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
+ if (count($result) > 0) {
+ if ($select_type == "dialplan" || $select_type == "ivr") {
+ echo "\n";
+ }
+ unset ($prep_statement);
+ }
+
//list conferences
$sql = "select * from v_conferences ";
$sql .= "where domain_uuid = '$domain_uuid' ";
@@ -607,36 +648,38 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
$prep_statement->execute();
$x = 0;
$result = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
- if ($select_type == "dialplan" || $select_type == "ivr") {
- echo "\n";
- }
- unset ($prep_statement);
//list destinations
/*