Change simple conference switch name from uuid@domain to extension@domain

This commit is contained in:
markjcrane
2021-04-28 14:23:35 -06:00
parent 77064157d5
commit 88f730b251
3 changed files with 16 additions and 6 deletions
@@ -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";