I'm trying to use freetds/odbc to write CDR records to a MSSQL database but when I installed them and tried to compile asterisk again I get: _tds.c cdr_tds.c: In function `mssql_connect': cdr_tds.c:415: `TDSCONNECTINFO' undeclared (first use in this function) cdr_tds.c:415: (Each undeclared identifier is reported only once cdr_tds.c:415: for each function it appears in.) cdr_tds.c:415: `connection' undeclared (first use in this function) cdr_tds.c:460: warning: implicit declaration of function `tds_free_connect' /usr/include/ctype.h: At top level: cdr_tds.c:71: warning: `connect_time' defined but not used make[1]: *** [cdr_tds.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/cdr' make: *** [subdirs] Error 1
HI, Anybody here know or using Asterisk with 2 lines MGCP phone? I am trying to figure out if there are such device available and if so, how does it differenciate between the lines that is associated with extention number. Thanks
Scrap this question.. found the answer later... so I'm using ODBC... but for some reason varchar(80) is coming in as 80 characters.. if say CLID is only 10 characters it will appear as "5703332121 [80 characters] " any ideas? On 6/16/05, Matt <mhoppes@gmail.com> wrote:> I'm trying to use freetds/odbc to write CDR records to a MSSQL > database but when I installed them and tried to compile asterisk again > I get: > > _tds.c > cdr_tds.c: In function `mssql_connect': > cdr_tds.c:415: `TDSCONNECTINFO' undeclared (first use in this function) > cdr_tds.c:415: (Each undeclared identifier is reported only once > cdr_tds.c:415: for each function it appears in.) > cdr_tds.c:415: `connection' undeclared (first use in this function) > cdr_tds.c:460: warning: implicit declaration of function `tds_free_connect' > /usr/include/ctype.h: At top level: > cdr_tds.c:71: warning: `connect_time' defined but not used > make[1]: *** [cdr_tds.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/cdr' > make: *** [subdirs] Error 1 >