[asterisk-users] problem with mssql and Asterisk 1.8.0 beta3
unserossi at aol.com
unserossi at aol.com
Mon Aug 23 09:49:14 CDT 2010
> [Aug 23 15:06:12] WARNING[7180]: loader.c:387 load_dynamic_module: Error
> loading module 'res_config_odbc.so':
> /usr/lib/asterisk/modules/res_config_odbc.so: undefined symbol:
> ast_odbclear_cache
For this one, you need to ensure that res_odbc.so loads before
res_config_odbc.so. Actually, the load order in 1.8 is such that, unless
you're using static realtime, you should not be using the 'preload' directive
at all, and everything will just naturally load in the right order.
--
I uncommented the two lines in modules.conf (this is what you meant?)
preload => res_odbc.so
preload => res_config_odbc.so
but asterisk still does not want to start as long as the dsn is set to enabled in res_odbc.conf.
I have my sip users/peers configured in realtime, don't know if this is called 'static realtime'?
With 1.6 it works without preloading the modules, with 1.8 I still get
[Aug 23 16:48:06] NOTICE[3130]: loader.c:1098 load_modules: 2 modules will be loaded.
== Parsing '/etc/asterisk/res_odbc.conf': == Found
[Aug 23 16:48:06] NOTICE[3130]: res_odbc.c:1471 odbc_obj_connect: Connecting mssql
asterisk: net.c:348: tds_select: Assertion `timeout_seconds >= 0' failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100823/a00ab030/attachment.htm
More information about the asterisk-users
mailing list