mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix the call center dsn
This commit is contained in:
@@ -78,7 +78,7 @@ require "resources.functions.format_ringback"
|
||||
if #dsn_callcenter > 0 then
|
||||
xml:append([[ <param name="odbc-dsn" value="]] .. xml.sanitize(dsn_callcenter) .. [["/>]]);
|
||||
elseif #dsn > 0 then
|
||||
xml:append([[ <param name="odbc-dsn" value="]] .. xml.sanitize(database["switch"]) .. [["/>]]);
|
||||
xml:append([[ <param name="odbc-dsn" value="]] .. xml.sanitize(dsn) .. [["/>]]);
|
||||
end
|
||||
xml:append([[ <param name="cc-instance-id" value="]] .. xml.sanitize(hostname) .. [["/>]]);
|
||||
-- xml:append([[ <param name="dbname" value="]] .. xml.sanitize(database_dir) .. [[/call_center.db"/>]]);
|
||||
|
||||
Reference in New Issue
Block a user