[Freeswitch-users] need help with mod_xml_odbc
Juan Backson
juanbackson at gmail.com
Thu Aug 27 03:37:41 PDT 2009
Hi,
ok, the module can be loaded, but it now complains about odbc. I can't find
anything missing in my odbc.ini. Could someone please point me to the right
direction?
2009-08-28 02:22:35.670284 [ERR] switch_odbc.c:188 STATE: IM002 CODE 201
ERROR: [unixODBC]Missing server name, port, or database name in call to
CC_connect.
2009-08-28 02:22:35.670312 [CRIT] mod_xml_odbc.c:577 Cannot Open ODBC
Database!
2009-08-28 02:22:35.670319 [ERR] mod_xml_odbc.c:612 Unable to load xml_odbc
config file
2009-08-28 02:22:35.670326 [CRIT] switch_loadable_module.c:871 Error Loading
module /usr/local/freeswitch/mod/mod_xml_odbc.so
**Module load routine returned an error**
I already have xml_odbc.conf
cat /etc/odbc.ini
; begin odbc.ini
[ODBC Data Sources]
test = PostgreSQL ODBC Driver
[test]
Driver = /usr/local/lib/libodbcpsql.so
Description = PostgreSQL Data Source
DSN = test
Servername = 192.168.1.133
Server = 192.168.1.133
Port = 5432
;Socket = 4096
Protocol = 6.4 # 7.2 or other values
UserName = root
Password = JdqB-S
Database = freeswitch
ReadOnly = no
ServerType = Postgres
FetchBufferSize = 99
ServerOptions =
ConnectOptions =
;Options = 3
Trace = 0
TraceFile = /var/log/PostgreSQL_test_trace.log
Debug = 0
DebugFile = /var/log/PostgreSQL_test_debug.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090827/c60ec04b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list