[callcenter] Add ability for callcenter presence

* Freeswitch requires callcenters to have queue_name@domain for presence to work
This commit is contained in:
agree
2021-04-22 18:51:25 -04:00
parent ab302ebfbb
commit 69e892e790
6 changed files with 20 additions and 13 deletions
@@ -352,7 +352,7 @@
//delete the queue in the switch
if ($fp) {
foreach ($uuids as $uuid) {
$cmd = "api callcenter_config queue unload ".$uuid;
$cmd = "api callcenter_config queue unload ".$uuid."@".$_SESSION["domin_name"];
$response = event_socket_request($fp, $cmd);
}
}