Displaying 20 results from an estimated 2000 matches similar to: "MS SQL & Free TDS"
2005 Apr 11
3
CDR and TDS
Hi,
I want to use the cdr to record the call log to my Microsoft SQL Server
using unixodbc and freetds....
but when I compile, I've got this message....
Does anyone have the same problem and/or know how to solve it ?
Thanks
Baste regards
David Masure
make[1]: Entering directory
`/usr/src/asterisk/bristuff-0.2.0-RC7k/asterisk-1.0.6/cdr'
gcc -pipe -Wall -Wstrict-prototypes
2003 Aug 01
2
Asterisk community input: FreeTDS (cdr_tds.c) or unixODBC (cdr_unixodbc.c) ?
I would like some Asterisk community input:
It was requested of me to create an Asterisk FreeTDS (cdr_tds.c) module to
allow Asterisk to populate MS SQL Server (and Sybase) with CDR records.
unixODBC has been thrown around as a bright shiny button but it adds an
additional layer of DB abstraction. That additional layer of abstraction
can cause problems when it is not necessary for our TDS (MS
2004 Jul 22
2
MSSQL ODBC CDR
Hello
I am having trouble setting up the cdr_odbc with MSSQL server. Has anybody done this?
I have followed what little documentation I can find. Asterisk errors on a connection error, but tcpdump doesn't even show an attempt.
Does anybody have some examples for MSSQL ODBC CDR?
I've downloaded unixODBC and the FreeTDS project, recompiled asterisk....
Thanks
Duane Cox
--------------
2007 Jun 27
2
Problems compiling Asterisk 1.4.5
Hi! I have this errors compiling Asterisk 1.4.5
cdr_tds.c:86:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:213: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:326: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:326:
2005 Jul 04
1
Asterisk 1.0.9 and FreeTDS
Hi all,
I have a working 1.0.7 installation and it is recording CDR to mysql. I am
using FreeTDS on the system currently to access our MS SQL 2000 server for
account verification, we may use it to store CDR records there in the
future.
I have decided to update the installation to 1.0.9. However, during "make",
I receive:
make[1]: Entering directory `/usr/src/asterisk/cdr'
gcc
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2010 Apr 01
2
problem compiling asterisk with cdr_odbc
"make menuconfig" does not show cdr_odbc as a selectable compile option. I
have compiled and installed both unixODBC and freetds from source and have
verified both successfully connect to my sql server. Both were installed to
standard locations (/usr/lib). I had no problem compiling cdr_odbc on my
test server(CentOS 4.6), however following the same steps on my production
server (CentOS
2006 Jun 19
1
[OT] HowtoConnectToMicrosoftSQLServerFromRailsOnLinux from Ubuntu
Hello all,
I am trying to connect to my remote MS SQL server from Ubuntu.
I have followed
HowtoConnectToMicrosoftSQLServerFromRailsOnLinux<http://http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux>as
best that I can.
TSQL is working, example below.
My configs are found below.
When I run isql :
> isql -v pubs name password
[IM002][unixODBC][Driver
2008 Dec 19
5
Authorize & Microsoft SQL
Hello Everyone,
I have an installation where the client has a Microsoft SQL database that holds all of their case information. They would like the asterisk system to require users to enter a valid case number when making an outgoing call. I?m seeing some documentation regarding people using Microsoft SQL for CDR storage, however nothing regarding validating authentication using a Microsoft SQL
2015 Jan 07
3
Asterisk executable suddenly about 40KB larger - modules not working
Hi all
I have a strange issue with 1.8.11.0 on a production Asterisk machine at our
head office, and the same issue with a production machine at a branch
office.
Every now and then, on the head office machine, ODBC CEL and CDR logging
will stop working. On examination in the CLI, Asterisk behaves as if the
config files for ODBC in the /etc directory are just gone.
Repeated tests have then
2004 May 18
2
problem with cdr_odbc
Hi,
Has anyone made a successfull instalation of cdr_odbc??
I've install unixODBC-2.2.8 (made my own RPM) and then built the module.
I'm trying to send the cdrs to a M$ SQL server. The sql connection
works because I can do any query via isql.
When I do the calls I get the following output on the asterisk console:
-- Executing Hangup("SIP/test1-a5e1", "") in new
2010 Mar 10
2
Windows API to connect UnixOdbc is not functional in Wine
Hello,
I have configured Wine in Ubuntu 9.04 to use the built-in odbc32.dll which in turn uses the Linux's unixodbc package.
When I am trying to run my windows application which actually uses Windows API connecting to Unix ODBC is not working.
The API uses is SQLDriverConnect (), that returns me error
[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not
2017 Nov 10
2
CDR_TDS driver disappears - "does not provide a license key" on reload attempt
Hi All
I have an Asterisk 1.8.32.3 instance that will at random intervals stop
logging CDR data to MSSQL via FreeTDS.
On investigation I'll find that the FreeTDS module has been unloaded
somehow. It is not listed in cdr show status or show module like.
Trying
module load cdr_tds
results in
module cdr_tds does not provide a license key
and the module is not loaded.
The only way to get
2004 Mar 31
2
sound issue
Hi all, I'm new to asterisk. I have it installed and 1 x100p card. I'm
trying to use kphone to connect out. But, when I start * it gives me
sound card busy error. I've checked ps aux and nothing seems to have the
sound card. Any ideas? Does starting asterisk automatically take the
sound card? Also, can you use the phone connected into the XFO card w/
asterisk or do you need an XFS card
2005 Jun 16
2
Error when compiling in freeTDS support
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.)
2007 Nov 21
1
Problem installing Asterisk
I have installed Asterisk with FreeTDS many times before (this same Asterisk
and same TDS version)... but today when I did the make it gave me this
error:
ake[1]: Entering directory `/home/matth/asterisk126/asterisk-1.2.6/cdr'
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i686
2010 Jul 26
5
FreeTDS (Microsoft MsSQL 2008) and CDR
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
2005 May 26
4
tds_CDR and MS SQL Server troubleshooting
I am trying to get * to write CDR records to an MS SQL table. I am used the freeTDS set up (not using UNIX ODBC), and it appears to be making the connection to the database, but I make a call, I get this error:
WARNING[3369]: cdr_tds.c:180 tds_log: Reconnected to SQL database.
ERROR[3369]: cdr_tds.c:191 tds_log: Failed to insert Call Data Records into SQL database.
I've assigned all rights
2005 Sep 05
1
RODBC and 64 bit
Hi all,
I was quite succesfully working with the RODB package on a 32 bit linux
box to connect to a MSSQL Server via the freeTSL driver. After changing
to a 64 bit environment I ran into some segmentation faults using
function sqlUpdate on large database operations (the actual seg faults
occured in the call to the C function ODBCUpdate).
I just briefly looked into the code and found some extensive
2010 May 05
3
CDR to MS-SQL via ODBC issue
Hi guys,
Having issue with getting CDR to write to MS-SQL via ODBC.
> cdr_odbc: Connected to freetds-connector
> cdr_odbc: Error in PREPARE -1
> cdr_odbc: Query FAILED Call not logged!
== Spawn extension (cisco, ##########, 2) exited non-zero on
'IAX2/astYYYY-507
Isql test:
[xxx at YYYY asterisk]# isql freetds-connector XXXXXXX YYYYYYYYY