mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Cache key add hostname prefix
This commit is contained in:
@@ -56,9 +56,8 @@
|
||||
unset($sql);
|
||||
|
||||
//get the sip profiles
|
||||
if ($esl->is_connected()) {
|
||||
$hostname = trim(event_socket::api('switchname'));
|
||||
}
|
||||
$hostname = gethostname();
|
||||
|
||||
$sql = "select sip_profile_uuid, sip_profile_name from v_sip_profiles ";
|
||||
$sql .= "where sip_profile_enabled = true ";
|
||||
if (!empty($hostname)) {
|
||||
|
||||
Reference in New Issue
Block a user