I have been trying to figure out if there is any way to connect to remote Database with FreeSwitch API.
FreeSwitch Lua API accepts only: Database name, username & password.
So it establishes the connection to localhost only.
local dbh = freeswitch.Dbh("odbc://my_db:uname:passwd") -- connect to ODBC database '
There is no option to provide host name if in case I want to make use of remote database server.
Is there any way ?
API Ref: https://freeswitch.org/confluence/display/FREESWITCH/Lua+with+Database