Update the method to connect to the database with lua.
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
password_tries = 0;
|
||||
|
||||
--connect to the database
|
||||
dbh = freeswitch.Dbh(database["system"]);
|
||||
dofile(scripts_dir.."/resources/functions/database_handle.lua");
|
||||
dbh = database_handle('system');
|
||||
|
||||
--set the api
|
||||
api = freeswitch.API();
|
||||
|
||||
Reference in New Issue
Block a user