Move scripts to app/switch/resources/scripts

This commit is contained in:
markjcrane
2023-06-24 08:32:56 -06:00
parent 0d39719318
commit 88faf89219
199 changed files with 129 additions and 136 deletions

View File

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