mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-26 10:15:43 +00:00
Move scripts to app/switch/resources/scripts
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
--connect to the database
|
||||
function database_handle(t)
|
||||
if (t == "system") then
|
||||
--freeswitch.consoleLog("notice","database.switch " .. database.system .. "\n");
|
||||
return freeswitch.Dbh(database.system);
|
||||
elseif (t == "switch") then
|
||||
--freeswitch.consoleLog("notice","database.switch " .. trim(database.switch) .. "\n");
|
||||
return freeswitch.Dbh(database.switch);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user