Displaying 20 results from an estimated 10000 matches similar to: "Asterisk 1.0.5 an MySQL CDR"
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
2014 Mar 13
1
strange records in cdr
Hi, I have asterisk-server version of 1.8.11-cert7.
When external enemy try to using it for calling, server write this string to log:
2014-03-13 09:56:04] VERBOSE[4754] pbx.c: -- Executing [9810972592309759 at from-sip-external:1] NoOp("SIP/external-ip-00065fd2", "Received incoming SIP connection from unknown peer to 9810972592309759") in new stack
[2014-03-13
2015 Jul 06
0
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:
>
>
2015 Jul 07
0
CDR in an MySQL-Database
Luca Bertoncello wrote:
> 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
2004 Dec 05
1
Mysql-cdr
Hi;
I have problem inserting cdr to mysql,Asterisk has logged to asteriskcdrdb successfully.It says:
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record.
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows: INSERT INTO cdr
2007 May 14
1
Some problems with mysql CDR
Hello,
We have finally upgraded to Asterisk 1.4, however we've run into two issues
that weren't occurring before the upgrade.
Issue #1: We're an outgoing call center and need to record all calls. We use
the uniqueid field in the CDR to match with the recording, which we labeled
with {UNIQUEID} in MixMonitor. For some reason, the uniqueid is not correct
in the CDR. Here is the
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.
2010 Apr 28
0
asterisk core dumps after cdr database writes using odbc
Both of our production asterisk servers are dumping core when making writes
to our cdr tables. Here is a backtrace of the problems we are having:
#0 0x00447b1f in tdserror (tds_ctx=0x1, tds=0xb7938c90, msgno=20004,
errnum=9) at util.c:347
347 if (tds_ctx && tds_ctx->err_handler) {
(gdb) bt
#0 0x00447b1f in tdserror (tds_ctx=0x1, tds=0xb7938c90, msgno=20004,
errnum=9) at
2016 Feb 09
2
CDR ODBC error
I am trying to get cdr via odbc to work on Asterisk 13.7.2 but I
keep getting this error:
[Feb 9 16:21:43] WARNING[2088]: cdr_odbc.c:160 execute_cb: cdr_odbc:
Error in ExecDirect: -1, query is: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,peeraccount,linkedid,sequence)
VALUES ({ts
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
2014 Jan 08
0
(CALL FILES to Local Channel)billsec Zero in cdr via cdr_adaptive_odbc
Hi, all
Sorry for null subject last mail.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2009 Feb 26
0
[cdr_odbc] error: Cannot insert the value NULL into column 'calldate'
Hi,
I am trying to get * log to mssql server. I have odbc and freetds
configured, but my insert query is missing calldate which is a NOT
NULL field in database schema.
cdr_adaptive_odbc: Insert failed on 'sqlserver:cdr'. CDR failed:
INSERT INTO cdr
(clid,src,dst,dcontext,channel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES
2007 Nov 05
2
Problem with CDR userfield not being set
I'm trying to use the MySQL CDR records.
According to dialplan show, the line in the dialplan is:
11. Set(CDR(userfield)=${billing_code}) [pbx_ael]
It looks like the value is being set when I watch the console during the call:
-- Executing [s at restphone_event_loop:11] Set("SIP/icall-0075a2e0",
"CDR(userfield)=boatmenu") in new stack
But the record that's
2013 May 09
2
question about CDR
hello list,
i need your help about cdr ,i have installed the module cdr in my asterisk
1.4 .
for the inbound calls when i call my sip exten like below :
exten => 506,1,Dial(SIP/223, 10)
exten => 506,n,Dial(SIP/276, 10)
in CDR i have just one line with SIP /276 the last line but there is
no historic
for the first SIP 223
recid Record ID | calldate |clid |src
2015 Apr 25
1
Error writing CDR
On Sat, 25 Apr 2015 17:11:34 +0200
jg <webaccounts173 at jgoettgens.de> wrote:
>
> > 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
2006 Dec 29
2
Dialed Number missing from the CDR when using call files.
The CDR, both the csv file and in MySQL does not contain the dialed
number (src) in case of a call placed using .call files.
"","","302","extensions","","Zap/4-1","SIP/7777-82c8","Dial","SIP/7777|40|whtWHT","2006-12-29
15:48:56","2006-12-29 15:48:59","2006-
12-29
2003 Jul 21
1
MYSQL Table Structure
For the information of others (and Google) this is the table structure I used to get cdr_mysql working:
CREATE TABLE cdr (
calldate varchar(255) NOT NULL default '',
clid varchar(255) NOT NULL default '',
src varchar(255) NOT NULL default '',
dst varchar(255) NOT NULL default '',
dcontext varchar(255) NOT NULL default '',
channel varchar(255)
2005 May 25
0
FAST BUSY on Back to back ZAP outgoing calls
Hello, I have a TDM400P with 2x2 configuration of FXOs and FXSs. I set
a test extension of '444' to dial out a specific zap trunk and call a
local #. First time I call out to '444' everything works fine. If I
hang up the call, and within 10 seconds dial the same number again, I
get a fast busy. Seems it isn't letting go of the trunk or something,
and I don't have a
2008 Apr 04
0
discrepancy between CDR clid and Polycom IP601 clid
Hi,
Returning to my office I find two "missed calls" (from autodialers) that
my IP601 displays as originating from 01111111111. However the CDR
database recorded the call this way:
calldate: 2008-04-04 14:18:16+02
clid: 0172752780
src: 0172752780
dst: 2131
dcontext: default
channel: Zap/1-1
dstchannel: SIP/0146472131-007a7e80
lastapp:
2006 May 17
0
A CDR issue of agent.conf <createlink feature>
Hi,
Asterisk version : 1.2.7.1 stable version
We try agent.conf setting of
createlink=yes
We always can not see this link value to be filled in MySQL's table filed : userfield
But we can see the record file has been created correctly.
In debug mode, no userfiled shown in SQL command,
May 17 18:10:51 DEBUG[2889] pbx.c: Function result is '"unknown" <2001>'
May