Displaying 20 results from an estimated 2000 matches similar to: "cdr_odbc appears to have fields missing"
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
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
2011 Mar 28
8
CDR MYSQL missing field data
Hello,
I have Asterisk-1.8.3.2, dahdi-linux-complete-2.4.1+2.4.1, and
libpri-1.4.11.5 installed and running on a Ubuntu 10.04 server all built
from source.
Everything is working nicely except one small issue.
The CDR records are stored in the CSV file correctly and complete.
The MySQL storage is working as it should and is automatically updating
all the fields except the CLID field.
I have
2005 Feb 23
0
cdr_odbc logging insane integer values
I'm having a problem with * (tried both HEAD and STABLE). When logging
with cdr_odbc through unixODBC to MySQL, I get "insane" integer values
in the duration, billsec, disposition and amaflags fields. I have
enabled MySQL logging, and that's the query I get:
INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,dura
2013 Oct 07
1
IAX and Variables
Hi
a new small question ;=)
We have two Asterisk, connected in IAX2.
On the first, in dialplan, we have:
exten => _XX.,1,Set(IAXVAR(ACCOUNTID)=${CDR(accountcode)})
we sent into the IAXVAR "ACCOUNTID" the accountcode.
On the second, in dialplan, we have:
exten => 18,2,AGI(Caller-ID.agi,${IAXVAR(ACCOUNTID)})
That's work, the second server get the variable.
I
2006 Jun 28
3
asterisk shutdown
Guys.
Ive seen on my asterisk messages log that asterisk has shutdown itself about
12 times in 5 days... The logs show nothing but:
[Jun 28 09:40:02] WARNING[3172]: Unicall/4 event Drop call
[Jun 28 09:40:02] WARNING[3172]: Unicall/4 event Release call
[Jun 28 09:40:02] VERBOSE[3172]: [Jun 28 09:40:02] -- Unicall/4 released
[Jun 28 09:40:02] VERBOSE[3084]: [Jun 28 09:40:02] Asterisk cleanly
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
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
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
2004 Mar 06
1
Incoming SIP calls
Hello All
I am trying to answer incoming SIP calls, first, by dialing an
extension, thence into voicemail, which works; and secondly by going
straight into voice mail which does not. The extension.conf that works
is like this;
[incomingSIP]
exten=>_.,1,Dial,Zap/2|1
exten=>_.,2,Voicemail,u5152
exten=>_.,3,Hangup
the extension.conf which does not is like this;
[incomingSIP]
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
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.
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)
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 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
2007 Sep 17
3
Enabling MySQL UNIQUE from cdr.conf
Hi,
Is there a way to enable the usage of UNIQUEID CDR field using a MySQL
database backend for storing CDRs without having to recompile
asterisk-addons as stated here
http://www.voip-info.org/wiki-Asterisk+cdr+mysql ?
After version 1.4 it is said in release that it can be done (not sure if it
applies to mysql backend)
How would it be the syntax in cdr.conf? I tried this without success in
2009 Jul 26
0
MeetMe time doesn't show up in CDRs?
Hello,
I'm working on some dialplan rules to pull multiple users into a
conference call. I have some fairly straightforward rules which start
up a new MeetMe conference, allow escape with the * key to invite more
users, then use a features.conf sequence to bring the new user into
the conference with ChannelRedirect.
The problem I'm running into is the time in the MeetMe conference
2007 Jan 31
1
FreePBX/Debian Aborts Call While Connecting
I used the "FreePBX on Debian" HowTo at
http://powerontech.com/freepbx-on-debian.htm to install. I use callfiles
to initiate calls to my SIP carrier. They get my registration, but they
see that my call is interrupted before they can complete the connection.
My Asterisk log shows that the call times out after the time (45s)
specified in my dialplan Dial() command. What is wrong?
[from
2012 Aug 01
2
Problem with callfile and CDR
Good afternoon list.
I am experiencing a problem with the CDR and callfiles. What is happening
is this: When generating a call with a callfile, everything works
perfectly, but the CDR is recorded in the table when they answer the call
destination. The field disposition is being recorded correctly, but the
duration field is marked with the ring time and billsec is marked with 0.
This just happens