Cache key add hostname prefix

This commit is contained in:
FusionPBX
2025-10-15 21:39:03 -06:00
committed by GitHub
parent dda18481ec
commit 2023e40d99
17 changed files with 52 additions and 69 deletions

View File

@@ -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)) {