Displaying 20 results from an estimated 30 matches for "cdr_tds".
2005 Apr 11
3
CDR and TDS
..." -DASTSPOOLDIR=\"/var/spool/asterisk\"
-DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\
" -DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN
-fPIC
-c -o cdr_tds.o cdr_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...
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 (...
2007 Nov 21
1
Problem installing Asterisk
...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 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer -fPIC -DFREETDS_PRE_0_62 -c -o cdr_tds.o cdr_tds.c
cdr_tds.c:82:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:208: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:326: error: `TDSCONNECTIN...
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.)
cdr_tds.c:415: `connection' undeclared (first use in this function)
c...
2005 Jul 04
1
Asterisk 1.0.9 and FreeTDS
..."
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC
-c -o cdr_tds.o cdr_tds.c
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:415: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:415: error: (Each undeclared identifier is reported only once
cdr_tds.c:415: error: for each function it appears in.)
cdr_tds.c:415: error: `connectio...
2014 Dec 23
0
CDR_TDS tries to write to ends column instead of end
Hi all
I'm trying to get Asterisk 1.8.11.0 to write to the ast_cdr table on an
MSSQL instance.
My problem is that the cdr_tds module insists on naming the end column as
"ends" - it tries to write to this column, which does not exist.
I get this in the CLI:
[Dec 23 09:25:17] NOTICE[2545]: cdr_tds.c:476 tds_message_handler: Invalid
column name 'ends'.
[Dec 23 09:25:17] ERROR[2545]: cdr_tds.c:464 tds_erro...
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 things working again is to kill Asterisk, and do a make
install again.
On restart, FreeTDS is back.
Just replacing cdr_tds.so from a backup fails, Asterisk still won't load it.
You...
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 SQL) us...
2005 Sep 29
0
please help on FreeTDS (writing CDR to MS-SQL or MySQL)
...get it
to work.
I serched around trying to find instructions on it, and it seems the same
info (even wording) appear on all sites I found.
I downloaded freetds-0.63, and followed the instructions step by step, and
when I try to re-compile Asterisk (#make in /usr/src/asterisk), I got these
errors:
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:429: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:429: error: (Each undeclared identifier is reported only once
cdr_tds.c:429: error: for each function it appears in.)
cdr_tds.c:429: error: `connection' undeclared (f...
2004 Jul 28
4
MS SQL & Free TDS
Help!
I've been using mysql for cdr storage, I need to switch to MS SQL. I must be
stupid or something but I cannot figure out how to setup the cdr_tds. I have
FreeTDS configured properly, but my unixodbc is not working properly
either... I'd be happy with either solution, but I'm in need of assistance.
Luke Catranis
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 to the cdr table in SQL to the user. I am not sure how to troubleshoot this from this point. Does anyone know else these errors are?...
2014 Dec 23
0
CDR_TDS tries to write to ends column instead of end
Hi all
<high embarrassment factor>
Managed to solve this. It wasn't Asterisk's fault, I had a trigger on the
ast_cdr table which was referrening to another table in my DB having an
"ends" column, when it should have been "end".
cdr_tds was literally just passing along the error it got from "deeper" in
the MSSQL table structure I'm using with Asterisk.
Sorry for the bother... all's fine now.
</high embarrassment factor>
Kind regards
Stefan
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 configuration) I installed
the same packages, and it's working fine. Any suggestions, what I did wrong?
Regards Andra?
-------------- next part --------------
An HTML attachme...
2005 Jan 20
1
FW: Asterisk 1.0.3 startup
...From: Nic le Roux [mailto:nicl@i-procc.za.net]
Sent: 20 January 2005 11:22 AM
To: 'asterisk-users@lists.digium.com'
Subject: Asterisk 1.0.3 startup
Hi All,
I've managed to compile make and make install asterisk on Mandrake 9.2.
However on startup I get the following message:
[cdr_tds.so]Jan 20 11:13:54 WARNING[20999]: loader.c:258 ast_load_resource:
libtds.so.3: cannot open shared object file: No such file or directory
Jan 20 11:13:54 WARNING[20999]: loader.c:440 load_modules: Loading module
cdr_tds.so failed!
I have freetds installed from RPM,
and the lib is here /usr/local...
2015 Jan 07
3
Asterisk executable suddenly about 40KB larger - modules not working
...files
(/etc/asterisk/res_odbc.conf, /etc/asterisk/res_pgsql.conf, etc.) ARE in
/etc/asterisk folder and are readable and have the correct contents, and are
NOT gone.
On the branch machine, where we do not use ODBC but FreeTDS to log CDRs to
an MSSQL DB, TDS stops working randomly as well, with the cdr_tds.so module
refusing to load with a message (I forget now the exact wording) that seems
to indicate that the Asterisk version is incompatible with the cdr_tds.so
ELF object file.
Checking further, I discovered that in both situations, the asterisk
executable in /usr/sbin grew by about 40KB compared...
2004 Oct 01
1
How to contribute code?
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdr_tds.c
Type: application/octet-stream
Size: 11765 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041001/7193730a/cdr_tds.obj
2005 Jan 20
0
Asterisk 1.0.3 startup
Hi All,
I've managed to compile make and make install asterisk on Mandrake 9.2.
However on startup I get the following message:
[cdr_tds.so]Jan 20 11:13:54 WARNING[20999]: loader.c:258 ast_load_resource:
libtds.so.3: cannot open shared object file: No such file or directory
Jan 20 11:13:54 WARNING[20999]: loader.c:440 load_modules: Loading module
cdr_tds.so failed!
I have freetds installed from RPM,
and the lib is here /usr/local...
2007 Feb 03
1
misdn and prostgres_cdr on asterisk 1.4
...e installed the new version of misdn with the script of beronet.
i use this configure script:
./configure --with-postgres=/usr/local/pgsql
then:
make menuselect
[*] 1. cdr_csv
[*] 2. cdr_custom
[*] 3. cdr_manager
XXX 4. cdr_odbc
[*] 5. cdr_pgsql
XXX 6. cdr_radius
XXX 7. cdr_sqlite
XXX 8. cdr_tds
and
[*] 9. chan_misdn
then:
make && make install
all works fine
if i start asterisk, my pri configuration and my te205P works fine,
but the BN8S0 and the crd logging doesn't work.
Where am i wrong?
thanks
nik
2015 Apr 29
2
Asterisk 1.8.32.3 chan_sip deadlock
...ing
menuselect options (debugging version):
menuselect/menuselect --disable BUILD_NATIVE --enable DEBUG_THREADS
--enable DONT_OPTIMIZE --disable CORE-SOUNDS-EN-GSM --disable-category
MENUSELECT_EXTRA_SOUNDS --disable MOH-OPSOUND-WAV --enable-category
MENUSELECT_ADDONS --disable format_mp3 --disable cdr_tds --disable cel_tds
--disable cdr_pgsql --disable cel_pgsql --disable res_config_pgsql
menuselect.makeopts
under kernel 2.6.32-504.el6.x86_64, and linked against the following
library versions:
/usr/lib64/libssl.so.10: symbolic link to `libssl.so.1.0.1e'
/usr/lib64/libcrypto.so.10: symbolic...
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