Displaying 20 results from an estimated 5000 matches similar to: "Set(CDR(anything_but_userfield_or_accountcode)=bla) broken?"
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
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
2004 Aug 12
1
AgentLogin issue
Hi
i have an issue getting agentLogin working
/etc/asterisk/queues.conf
member => Agent/1001
member => Agent/1002
extension.conf
exten => 110,1,Wait,1
exten => 110,2,AgentLogin()
now, i call 110 by a firefly client, trying to login in as 1001 agent:
Aug 12 16:31:36 DEBUG[1103408048]: chan_sip.c:4423 build_route: build_route: Contact hop: <sip:sip3@192.168.1.151:5060>
--
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
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
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
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 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
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
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
2004 Jan 28
1
cdr_addon_mysql compile error
Having some trouble building cdr_addon_mysql. I've installed mysql and
mysql-dev and all related rpms on a RH9 box. The box is up and running
*.
I've checked out the asterisk-addons but at "make install", I receive the
following error:
./mkdep -fPIC -I../asterisk -I/usr/include/mysql `ls *.c`
cc -fPIC -I../asterisk -I/usr/include/mysql -c -o cdr_addon_mysql.o
2006 Feb 09
1
clid and src fields wrong in cdr
Hi all,
I have a strange problem, regarding zap channels and cdr.
I am using asterisk bristuffed version
Asterisk 1.2.2-BRIstuffed-0.3.0-PRE-1i, Copyright (C) 1999 - 2006 Digium,
Inc. and others.
with two billion ISDN cards. I also installed asterisk addons, last stable
version via cvs
internal calls, or calls starting from internal sip or iax phone are
recorded in the cdr all without any
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
2007 Jun 12
4
write some custom values to CDR table
Hi,
I write the CDR of my Asterisk 1.2.17 server in MySQL database
using cdr_addon_mysql.so.
Now I'm trying to write some custom values to userfield column by
the SET(CDR(USERFILED)=SOME_TEXT) sintax, but nothing gets writeen in
MySQL cdr table!!
Why? I'm I skeeping something or what?
Taking a look at the URL:
2015 Apr 25
4
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.
"mysqlcheck -a -e -v DBase" and "mysqlcheck -c -e -v DBase" both returned OK for
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
2011 Jan 24
6
Unable to insert cdr-data into mysql-DB
Hello list,
I keep on getting the error :
ERROR[1707] cdr_addon_mysql.c: Cannot connect to database server
127.0.0.1: (1045) Access denied for user 'asteriskcdr'@'localhost'
(using password: YES)
I have a 'cdr' table in my MySQL-DB. On this table the user
'asteriskcdr' has select, insert, update privileges.
GRANT SELECT , INSERT ,UPDATE ON `Asterisk`.`cdr`
2007 Aug 06
1
CDR/MySQL basic config
Hi,
I'm trying to add mysql CDR onto a vanilla Asterisk 1.2 install. The
add-ons pack has been installed for a while, so now I'm trying to add
the Mysql config.
I've created a mysql database, added the grants for a user acces, and
can run a mysql -u asteriskcdruser -p and can connect to the database.
I've been using this as a guide:
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
2007 Jun 07
1
custom cdr fields and cdr_mysql, howto?
Hi All,
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr
Under example:
exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
and under description:
-userfield: The channel's user specified field.
""-any custom value that you wish to store.""
My question is how do you setup more custom fields in the cdr and be