[Freeswitch-users] problem with mod_xml_odbc

Woody Dickson woodydickson at gmail.com
Sat Nov 14 00:31:12 PST 2009


Hi,

I am having problem trying to use mod_xml_odbc using freeswitch-1.0.5pre.

Here is the error I am getting:

2009-11-15 00:17:23.571293 [INFO] mod_xml_odbc.c:647 XML ODBC module
loading...
2009-11-15 00:17:23.571354 [NOTICE] mod_xml_odbc.c:563 Binding XML Search
Function [directory]
2009-11-15 00:17:23.572299 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0
ERROR: [unixODBC][Driver Manager]Data source name not found, and no default
driver specified

2009-11-15 00:17:23.572361 [CRIT] mod_xml_odbc.c:617 Cannot Open ODBC
Database!
2009-11-15 00:17:23.572397 [ERR] mod_xml_odbc.c:650 Unable to load xml_odbc
config file
2009-11-15 00:17:23.572424 [CRIT] switch_loadable_module.c:871 Error Loading
module /usr/local/freeswitch/mod/mod_xml_odbc.so
**Module load routine returned an error**


In my config, I have:


  <settings>
        <param name="binding" value="directory"/>
    <param name="odbc-dsn" value="myodbc:root:123456"/>
    <param name="debug" value="true"/>
    <param name="keep-files-around" value="true"/>
  </settings>


[root at localhost autoload_configs]# isql myodbc -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL>



How can I fix this problem?

thanks,
woody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091114/c4533556/attachment-0002.html 


More information about the FreeSWITCH-users mailing list