Change simple conference switch name from uuid@domain to extension@domain
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user