Hello, we are migrating an Asterisk install from Trixbox/Asterisk 1.2 to Elastix 0.92 with asterisk-1.4.17 on CentOS 5. I need to migrate an funtion that consults a remote sybase database, using ODBC and freetds. On the new server I am able to connect to the database using isql without problems. When I try to connect from asterisk logs show: pbx.c: Function ODBC_SQL not registered Indeed I can find this function in /var/lib/asterisk/modules As far as I understand asterisk needs to be recompiled to include the function. Recompiling asterisk-1.4.17 I get even into more trouble: make menuselect shows XXX 4. res_config_odbc XXX 13. res_odbc ODBC Resource Depends on: unixodbc(E), ltdl(E) unixODBC and unixODBC-devel are installed. Thanks for any hint to get my ODBC_SQL included and working! Enrique -- Dirk Enrique Seiffert - Lintec S.A. Ed. Torre del Reloj - Of. 401 Plaza de los Coches, Centro Cartagena - Colombia http://www.sipcolombia.com
See below: Dirk Enrique Seiffert wrote:> Hello, > > we are migrating an Asterisk install from Trixbox/Asterisk 1.2 to Elastix > 0.92 with asterisk-1.4.17 on CentOS 5. I need to migrate an funtion that > consults a remote sybase database, using ODBC and freetds. On the new > server I am able to connect to the database using isql without problems. > > When I try to connect from asterisk logs show: > > pbx.c: Function ODBC_SQL not registered > > Indeed I can find this function in /var/lib/asterisk/modules > > As far as I understand asterisk needs to be recompiled to include the > function. Recompiling asterisk-1.4.17 I get even into more trouble: make > menuselect shows > > XXX 4. res_config_odbc > > XXX 13. res_odbc > > ODBC Resource > Depends on: unixodbc(E), ltdl(E) > > unixODBC and unixODBC-devel are installed. >You also need ltdl (whatever that is) ;)> Thanks for any hint to get my ODBC_SQL included and working! > > Enrique > >
>> XXX 4. res_config_odbc >> >> XXX 13. res_odbc >> >> ODBC Resource >> Depends on: unixodbc(E), ltdl(E) >> >> unixODBC and unixODBC-devel are installed. >> > > You also need ltdl (whatever that is) ;)I guess this libtool-ltdl-1.5.22-6.1 ... which is installed. Thanks Enrique>> Thanks for any hint to get my ODBC_SQL included and working! >> >> Enrique >> >> > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Dirk Enrique Seiffert - Lintec S.A. Ed. Torre del Reloj - Of. 401 Plaza de los Coches, Centro Cartagena - Colombia http://www.lintecsa.com