[asterisk-users] FreeTDS (Microsoft MsSQL 2008) and CDR

Fred Posner fred at teamforrest.com
Fri Jul 30 06:15:00 CDT 2010


On Jul 30, 2010, at 5:04 AM, Andraž wrote:

> Ok, problem is another, when I run configure, it write this:
> checking for tds_version in -ltds... no
> configure: ***
> configure: *** The FreeTDS installation on this system appears to be broken.
> configure: *** Either correct the installation, or run configure
> configure: *** without explicitly specifying --with-tds
> ODBC is not a good solution, only if I can change the names of CDR fields.
>  
> How can I "repair" the installlation?
> 
> On Wed, Jul 28, 2010 at 2:58 PM, Andraž <atletek at gmail.com> wrote:
> I resolved this isue using odbc.
> 
> 
> On Mon, Jul 26, 2010 at 11:27 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Mon, Jul 26, 2010 at 10:05:27AM +0200, Andraž wrote:
> > Hi,
> >
> > I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from
> > sources. I installed freetds-common,freetds-dev, libct4, libsybdb5,
> > freetds-bin, but, when I run configure and then make menuconfig in section
> > "Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that
> > "Depends on: freetds(E)". On another server (same configuration) I installed
> > the same packages, and it's working fine. Any suggestions, what I did wrong?
> 
> Have you re-ron ./configure #?
> 
> --
>               Tzafrir Cohenv

Have you tried installing freetds from source?

wget ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz
tar -zxvf freetds-stable.tgz
cd freetds-0.82
./configure --prefix=/usr --with-tdsver=7.0 --with-unixodbc=/usr/lib
	or ./configure --prefix=/usr --with-tdsver=7.0 --with-unixodbc=/usr
make && make install


---fred
http://qxork.com




More information about the asterisk-users mailing list