mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Add h hostname to option for the gateways.
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
sql = "select * from v_gateways ";
|
||||
sql = sql .. "where enabled = 'true' and profile = '"..sip_profile_name.."' ";
|
||||
end
|
||||
sql = sql .. "and (g.hostname = '" .. hostname.. "' or g.hostname is null or g.hostname = '') ";
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[xml_handler] SQL: " .. sql .. "\n");
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user