signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.64k stars 1.44k forks source link

ODBC NOT AVAILABLE! Can't connect to DSN freeswitch #2590

Open dashu101 opened 2 months ago

dashu101 commented 2 months ago

Why is there still output after configuring freeswitch ODBC NOT AVAILABLE! Can't connect to DSN freeswitch image

suiyuemanbu commented 2 months ago

please use mod_mariadb. and <param name="odbc-dsn" value="mysql://server=$${mysql_host};database=$${mysql_db};port=$${mysql_port};uid=$${mysql_user};pwd=$${mysql_pwd};" />

zenichev commented 1 week ago

please use mod_mariadb. and <param name="odbc-dsn" value="mysql://server=$${mysql_host};database=$${mysql_db};port=$${mysql_port};uid=$${mysql_user};pwd=$${mysql_pwd};" />

hm, that's odd, I tried that for the mod_db for example, but got only the Invalid value error during the loading of the module. It seems that the only acceptable syntax for the "odbc-dsn" type of connector is odbc://database:username:password

Btw, it seems that with a correct syntax FS simply doesn't see the odbc dsn prepared for it. Even though I'm able to connect via this dsn using same FS's user on the system. Something is definitely not healthy here.