mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Make presence for conferences work out of the box (#2514)
Use '@' instead of '-' for separating conference name and domain, which is what FreeSWITCH mod_conference uses.
This commit is contained in:
@@ -43,7 +43,7 @@ else {
|
||||
$conference_uuid = check_str($_REQUEST["c"]);
|
||||
|
||||
//replace the space with underscore
|
||||
$conference_name = $conference_uuid.'-'.$_SESSION['domain_name'];
|
||||
$conference_name = $conference_uuid.'@'.$_SESSION['domain_name'];
|
||||
|
||||
//create the conference list command
|
||||
$switch_cmd = "conference '".$conference_name."' xml_list";
|
||||
|
||||
@@ -83,7 +83,7 @@ else {
|
||||
//show the conferences that have a matching domain
|
||||
$tmp_domain = substr($name, -strlen($_SESSION['domain_name']));
|
||||
if ($tmp_domain == $_SESSION['domain_name']) {
|
||||
$conference_name = substr($name, 0, strlen($name) - strlen('-'.$_SESSION['domain_name']));
|
||||
$conference_name = substr($name, 0, strlen($name) - strlen('@'.$_SESSION['domain_name']));
|
||||
if (is_uuid($conference_name)) {
|
||||
$meeting_uuid = $conference_name;
|
||||
$sql = "select ";
|
||||
|
||||
Reference in New Issue
Block a user