[asterisk-users] odbc to ms-sql server

Neeraj Chand Neeraj.Chand at ocis.com.au
Fri Nov 6 00:43:26 CST 2009


Hi all, 

I'm trying to set up an odbc connection to a ms-sql server from an
asterisk 1.6.1 install

My problem is that I cannot get asterisk to build func_odbc &
res_odbc.so

I installed yum -y install unixODBC unixODBC-devel libtool-ltdl
libtool-ltdl-devel

And then went on to reconfigure / recompile asterisk

after a ./configure --with-odbc=/usr/lib/

I get 
###############################################
checking for mandatory modules:  UNIXODBC... ok
configure: creating ./config.status
########################################

And then when I go to make menuselect;

[XXX]Res_odbc 

[XXX] func_odbc

[XXX] cdr_odbc

Can anyone help out with what I am missing? 

[I've gotten to a stage where tsql and isql connections to my sql db
work, however, getting odbc right is making me pull my hair out a bit]



More information about the asterisk-users mailing list