View previous topic :: View next topic |
Author |
Message |
ds at caribenet.com Guest
|
Posted: Wed Jan 30, 2008 11:38 am Post subject: [asterisk-users] func_odbc - trouble |
|
|
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 |
|
Back to top |
|
|
asterisk at dotr.com Guest
|
Posted: Wed Jan 30, 2008 11:46 am Post subject: [asterisk-users] func_odbc - trouble |
|
|
See below:
Dirk Enrique Seiffert wrote:
Quote: | 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)
Quote: | Thanks for any hint to get my ODBC_SQL included and working!
Enrique
|
|
|
Back to top |
|
|
ds at caribenet.com Guest
|
Posted: Wed Jan 30, 2008 12:55 pm Post subject: [asterisk-users] func_odbc - trouble |
|
|
Quote: | Quote: | 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
--
Dirk Enrique Seiffert - Lintec S.A.
Ed. Torre del Reloj - Of. 401
Plaza de los Coches, Centro
Cartagena - Colombia
http://www.lintecsa.com |
|
Back to top |
|
|
jparker at digium.com Guest
|
Posted: Wed Jan 30, 2008 1:16 pm Post subject: [asterisk-users] func_odbc - trouble |
|
|
Dirk Enrique Seiffert wrote:
Quote: |
I guess this
libtool-ltdl-1.5.22-6.1
... which is installed.
Thanks
Enrique
|
I believe you're looking for libtool-ltdl-dev(el)
--
Jason Parker
Digium |
|
Back to top |
|
|
|