Hi Folks, is it a normal behavior that mod_odbc_query accept only odbc-dsn like |<||param| |name||=||"odbc-dsn"| |value||=||"freeswitch:freeswitch:secret"||/>| |and not| |<||param| |name||=||"odbc-dsn"| |value||=||"pgsql://xxxxxx"||/>| | | |?| | | |thanks| | | |Franck |
Check: https://freeswitch.org/confluence/display/FREESWITCH/ODBC+DSN I think you have an error in the format used. Example for MySQL: <param name="core-db-dsn" value="odbc://DRIVER=mysql;SERVER=a.b.c.d;UID=username;PWD=secretpassword;DATABASE=freeswitch;OPTION=67108864"> Most likely the "value" for your odbc-dsn has to follow that format... On Sun, Jul 9, 2017 at 1:21 PM, Madovsky <infos@madovsky.org> wrote:
Hi Folks,
is it a normal behavior that mod_odbc_query
accept only odbc-dsn like
<param name="odbc-dsn" value="freeswitch:freeswitch:secret"/>
and not
<param name="odbc-dsn" value="pgsql://xxxxxx"/>
?
thanks
Franck
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Looking at the code, yes it's been written to only support a ODBC DSN of that format. On 9 July 2017 at 21:21, Madovsky <infos@madovsky.org> wrote:
Hi Folks,
is it a normal behavior that mod_odbc_query
accept only odbc-dsn like
<param name="odbc-dsn" value="freeswitch:freeswitch:secret"/>
and not
<param name="odbc-dsn" value="pgsql://xxxxxx"/>
?
thanks
Franck
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Joel Serrano
-
Madovsky
-
Steven Ayre