Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] func_odbc - trouble


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ds at caribenet.com
Guest





PostPosted: Wed Jan 30, 2008 11:38 am    Post subject: [asterisk-users] func_odbc - trouble Reply with 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.

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





PostPosted: Wed Jan 30, 2008 11:46 am    Post subject: [asterisk-users] func_odbc - trouble Reply with quote

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) Wink
Quote:
Thanks for any hint to get my ODBC_SQL included and working!

Enrique

Back to top
ds at caribenet.com
Guest





PostPosted: Wed Jan 30, 2008 12:55 pm    Post subject: [asterisk-users] func_odbc - trouble Reply with quote

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) Wink

I guess this

libtool-ltdl-1.5.22-6.1

... which is installed.

Thanks

Enrique

Quote:
Quote:
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
Back to top
jparker at digium.com
Guest





PostPosted: Wed Jan 30, 2008 1:16 pm    Post subject: [asterisk-users] func_odbc - trouble Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services