Displaying 20 results from an estimated 9000 matches similar to: "CDR_MYSQL"
2015 Jul 06
1
CDR in an MySQL-Database
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of jg
Sent: Monday, July 06, 2015 4:14 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] CDR in an MySQL-Database
> Hi list!
>
> I'd like to save all information about calls (CDR) in a MySQL-Database.
2015 Jul 06
4
CDR in an MySQL-Database
Hi list!
I'd like to save all information about calls (CDR) in a MySQL-Database.
I created the DB and a user for Asterisk on a separate server, then I
configured my cdr_mysql.conf so:
[global]
hostname=192.168.10.3
dbname=asterisk
table=cdr
password=MYSECRET
user=asterisk
port=3306
and my cdr.conf so:
[general]
enable=yes
unanswered = yes
safeshutdown=yes
[mysql]
usegmtime=no
2015 Apr 26
1
Error writing CDR
>> Hi All
>>
>> I have dozens of these messages on CLI complaining about database
>> connection and error writing CDR to disk.
>>
>> The curious thing is I can find them all inside the database. I
>> "selected" them using uniqueid and manually compared each column
>> with the cdr_adaptive_odbc.c error line.
>>
>>
2003 Aug 13
5
Can't compile cdr_mysql
I'm trying to compile the cdr_mysql module, but I am receiving error
messages.
I have installed mysql-devel.
Here is the output of make cdr_mysql:
cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o
cdr_mysql.o cdr_mysql.c
cdr_mysql.c:30:26: mysql/errmsg.h: No such file or directory
cdr_mysql.c: In function `mysql_log':
cdr_mysql.c:74: `CR_SERVER_GONE_ERROR'
2003 Oct 25
6
cdr_mysql.so
Can anyone give me presise instructions on how to compile cdr_mysql.so?
When I initially installed asterisk on the system, I didn't have mysql
installed. Since then I have installed mysql, created the database and
table structure for cdr_mysql and placed the appropriate settings in the
cdr_mysql.conf file. However when I do a show modules at the CLI I cannot
find cdr_mysql.so.
2003 Aug 07
1
cdr_mysql uncompress
Hey,
Have i done something wrong or is there something wrong with latest CVS
and cdr_mysql, cause after checking out latest CVS today, I got warning:
[cdr_mysql.so]WARNING[1074424544]: File loader.c, Line 226
(ast_load_resource): /usr/lib/asterisk/modules/cdr_mysql.so: undefined
symbol: uncompress
WARNING[1074424544]: File loader.c, Line 345 (load_modules): Loading
module cdr_mysql.so failed!
2009 Oct 30
2
asterisk 1.6 enable cdr_mysql
How to enable cdr_mysql.conf in Asterisk 1.6?
I have installed asterisk-addons which compiled mysql support,
"module show" is showing "cdr_addon_mysql.so"
but cdr_mysql.conf was not created in /asterisk directory
Is there any configuration file to enable mysql support?
Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded.
--
2003 Sep 14
2
cdr_mysql: cannot connect
I don't know if I have something screwed up with my MYSQL installation/Asterisk install or a bad
configuration. I have imported the tables into a MYSQL database residing on localhost. I have
check permissions on the user as well as the password and I have the same error comin up. I have
succesfully connected to the database remotely and with MYPHPAdmin with the same setting below is a
copy
2003 Jun 07
0
New cdr_mysql.c
Hi.
here is a brand new cdr_mysql .
Is based on the previous one, but with lots of changes, so I include
here the whole file, not a patch.
What I've changed:
added new fields, in order to reflect cdr csv :
* call start time
* call answer time
* call end time
* call unique id
Changed the table structure to reflect cdr.h lengths.
Added some (a lot?) sanity checks, to be sure to insert
2005 Feb 14
0
cdr_mysql losing logs
I noticed a problem this morning with our cdr logging. We have a cron
job that places a call file into the spool directory having asterisk
call itself to check to make sure its still handling incoming calls
correctly, then queries the CDR database in mysql and makes sure that
appropriate records exist.
I can confirm that the call is happening correctly, but I'm missing
records in the
2005 Jul 27
5
cdr_mysql does not write to mysql db
Hi,
I configured cdr_mysql (addons 1.0.9) to write the cdr records to the mysql db.
The problem is that no records are written to the db. Why?
I can import the csv-file to the db. so i assume the db is setup correct.
Is there any chance to get debug from cdr_mysql to find his problem?
This is my cdr_mysql.conf file:
[global]
hostname=localhost
dbname=cdr
password=passw0rd
user=root
;port=3306
2003 Jul 18
5
cdr_mysql
Considering that I had a failure with compiling the latest version of
asterisk because of cdr_mysql, I am going to assume that I need to have
a copy of the mysql headers on the system in order to compile
cdr_mysql.so. Does that sound correct?
Kim C. Callis
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Dec 30
1
CDR_MYSQL 1.4 Database Structure
So I'm noticing from the docs/ on Asterisk Addons 1.4.10 that the
database structure for cdr_mysql is:
CREATE TABLE cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
clid varchar(80) NOT NULL default '',
src varchar(80) NOT NULL default '',
dst varchar(80) NOT NULL default '',
dcontext varchar(80) NOT NULL default '',
channel
2006 Jun 09
2
shutting down a mysql server renders cdr_mysql dead and asterisk nolonger makes or receives calls
At approximately 3:15pm I shut down the office MySQL server to change
out some hardware. Shortly after I received a call from one of two
customers whose asterisk servers output CDR data to that server. They
could not place or receive calls. Shortly after that I received a call
from the other customer. I'm below providing output from the message
log (At debug level). I don't see much
2007 Mar 09
1
Cdr_mysql compile question
I'm reading voip-info.org
http://www.voip-info.org/wiki-Asterisk+cdr+mysql
Sorry if this is a dumb question, but:
It says I need mysql and mysql-devel to compile cdr_mysql, but I don't want
mysql on my asterisk box I want to connect to a remote mysql server. Can I
use mysqlclient and mysqlclient-devel?
Thanks,
David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer Safe Data, Inc.
(910)
2003 Apr 22
1
cdr_mysql table definition
Hi all,
I'm looking at the mysql cdr backend to record call details, but I can't
find any documentation on how to set up my database.
Specifically, what is the table definition for the cdr table?
I saw that the dbname, user and password can be set in cdr_mysql.conf, but
there's no information on what table to use.
Thanks,
Gijsbert
2005 Jan 29
0
upgrading to *-1.0.5 on Gentoo; error cdr_mysql.conf': Not found
I just upgraded from ver. 0.9 to 1.0.5 on Gentoo (from portage) and when
I try to reload my settings I get:
== Unregistered 'mysql' CDR backend
== Parsing '/etc/asterisk/cdr_mysql.conf': Not found (No such file or
directory)
My phone or SPA-3000 will not register with asterisk either.
I've copied the Sip.conf; extenson.conf and iax.conf from old version to
1.0.5
--
#Joseph
2005 Jan 31
0
re: cdr_mysql and system time
hi all,
does anyone know what time variables are fed to to the "calldate"
field in cdr_mysql? I have my system time set to israel time zone,
have restarted mysql and a show variables shows timzone as "IST" which
means now() should return israel time, but the calldate field keeps
getting the system clock. I don't have the source for asterisk-addons
handy so i can't
2020 Jun 08
0
cdr_mysql: Cannot connect to database server - SSL error: SSL_CTX_set_default_verify_paths failed
On Monday 08 June 2020 at 12:15:56, Markus wrote:
> Hi list!
>
> I'm getting this error frequently:
>
> ERROR[25193][C-0004f387]: cdr_mysql.c:203 mysql_log: Cannot connect to
> database server localhost: (2026) SSL connection error:
> SSL_CTX_set_default_verify_paths failed
Hmmm... talking to localhost over SSL... seems a bit computationally wasteful.
> Right now,
2009 Jun 30
1
Setting CDR(userfield) from Macro called from feature doesn't work with cdr_mysql
cdr_mysql doesn't set the userfield when it's set inside a macro
called from a feature (1.4.25, addons 1.4.8).
I have a feature code:
autorecord => *1,self,Macro,apprecord
The apprecord macro looks like:
[macro-apprecord]
exten => s,1,Playback(beep)
exten =>