[asterisk-users] problem with mssql and Asterisk 1.8.0 beta3

Tilghman Lesher tlesher at digium.com
Mon Aug 23 09:03:17 CDT 2010


On Monday 23 August 2010 08:14:43 unserossi at aol.com wrote:
> Hi all,
>
> I am testing with Asterisk 1.8.0 beta3 using realtime with a mssql server
> using freetds and unixodbc, which works with 1.6.1.20.
>
> With the same config in 1.8 I get an error when trying to start asterisk
> which says:
>
>
> [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_odbc_clear_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.

> [Aug 23 15:06:12] NOTICE[7180]: res_odbc.c:1471 
> odbc_obj_connect: Connecting mssql asterisk: net.c:348: tds_select:
> Assertion `timeout_seconds >= 0' failed.

This is internal to the freetds driver and is therefore not a bug in Asterisk.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list