mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Edge case fix ring group when an extension is not registered.
This commit is contained in:
@@ -134,6 +134,11 @@
|
||||
--freeswitch.consoleLog("notice", "[xml_handler] sql: " .. sql .. "\n");
|
||||
--freeswitch.consoleLog("notice", "[xml_handler-directory.lua] database_hostname is " .. database_hostname .. "\n");
|
||||
|
||||
--hostname was not found set load_balancing to false to prevent a database_hostname concatenation error
|
||||
if (database_hostname == nil) then
|
||||
load_balancing = false;
|
||||
end
|
||||
|
||||
--close the database connection
|
||||
dbh_switch:release();
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user