Displaying 20 results from an estimated 2000 matches similar to: "userfield not logged to CDR"
2004 Jan 16
3
Odbc not logging
Hi,
Since a few days I'm experiencing this:
> cdr_odbc: Connected to asterisk
> cdr_odbc: Error in Query -1
> cdr_odbc: Query FAILED Call not logged!
> cdr_odbc: Connected to asterisk
> cdr_odbc: Reconnecting to dsn asterisk
> cdr_odbc: Trying Query again!
> cdr_odbc: Error in Query -2
> cdr_odbc: Query FAILED
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
2008 Jan 09
2
Set CDR userfield in a realtime dialplan
Hello,
I'm using Asterisk with Realtime extensions and ODBC CDR. And I'm have
some trouble with the CDR userfield that is not changed when using the
SET command in the realtime dialplan.
In my dialplan (extensions.conf, the file) I'm setting the userfield
like this :
exten => s,n,Set(CDR(userfield)="X")
Later, my dialplan switches to the realtime part and this is an
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 =>
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
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
2013 Nov 14
1
DAHDI with (CDR(userfield)
Hi list, I need some help to improve my cdr, now in my company are
asking me how
to know which of my phone numbers are most used when receiving calls from
the PSTN and incoming the IVR
was thinking about using userfield field, and I'm trying to do, I have at
the moment 4 channel DAHDI
; DAHDI CHANNEL 3=23XXXXX6
context=in
callerid=asreceived
group=1
signalling=fxs_ks
channel => 3
2010 Dec 21
1
SOLVED: Re: Setting `userfield` from within a callfile
On Monday 20 Dec 2010, Olivier wrote:
> 2010/12/20 A J Stiles <asterisk_list at earthshod.co.uk>
>
> > Our current Asterisk 1.6.2.9 setup includes a CGI auto-dial application
> > (written by someone else before me) which sets up calls by creating
> > files of
> > the general form
> >
> > Channel: SIP/$INSIDE_NUMBER
> > Context: $CONTEXT
>
2009 Nov 08
2
CDR userfield not written into DB
Hi everybody,
i've been googling for quite some time now but can't find an answer to
my problem...
I'm using Asterisk 1.2.12.1 with mysql as the cdr backend.
In the dialplan i've written
exten => 1234,n,Set(CDR(userfield)=blah)
exten => 1234,n,Answer()
exten => 1234,n,Queue(.....)
exten => 1234,n,Hangup()
When I'm doing a call I can see that the statement is
2010 Dec 20
2
Setting `userfield` from within a callfile
Our current Asterisk 1.6.2.9 setup includes a CGI auto-dial application
(written by someone else before me) which sets up calls by creating files of
the general form
Channel: SIP/$INSIDE_NUMBER
Context: $CONTEXT
Extension: $OUTSIDE_NUMBER
Priority: 1
CallerId: $INSIDE_NUMBER
in /var/spool/asterisk/outgoing/ .
It works very well. However, it would be nice to be able to attach an
additional
2011 Jan 28
1
CDR issue - Problem logging CDR(userfield) in Master.csv
Dear all,
I am having an issue with CDR logging. What I want to do is log jitter
variable from RTPAUDIOQOS module into Master.csv at the end of each call.
I am using asterisk version 1.4.26. For CDR purposes, I am using
cdr_custom, and the content of my cdr_custom.conf is the following:
[mappings]
Master.csv =>
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
2014 Nov 20
1
Error saving cdr at h exten in Asterisk13
Dears,
I need to save some information on userfield when calls end in Asterisk13, but I have two error cases:
1. With endbeforehexten=no in cdr.conf, I have a registry in cdr, but userfield is not set.
2. With endbeforehexten=yes, I have two lines in cdr, one with duration, src e dst correct, and a second line with userfield setting and dst h.
I am using cdr_odbc.conf, with Asterisk11.14.0 it
2010 May 05
3
CDR to MS-SQL via ODBC issue
Hi guys,
Having issue with getting CDR to write to MS-SQL via ODBC.
> cdr_odbc: Connected to freetds-connector
> cdr_odbc: Error in PREPARE -1
> cdr_odbc: Query FAILED Call not logged!
== Spawn extension (cisco, ##########, 2) exited non-zero on
'IAX2/astYYYY-507
Isql test:
[xxx at YYYY asterisk]# isql freetds-connector XXXXXXX YYYYYYYYY
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
2010 Jan 22
5
Set CDR userfield for Queues
Hello,
I am using Queue application with multiple agents in each queue. I
want to set the CDR(userfield) for each cdr based on the agent
answering the call. Is it possible to do this?
Thanks
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.
2006 Jun 17
1
ODBC cdr tearing my hair out
svn trunk.
I'm trying to get cdr to work with my odbc database. I have followed a
checklist that I had previously but still can't get it to work. There
are no errors (verbose 40 and debug 40), I get
[cdr_odbc.so] => (ODBC CDR Backend)
== Parsing '/etc/asterisk/cdr_odbc.conf': Found
*CLI> cdr status
CDR logging: enabled
CDR mode: simple
CDR registered backend:
2009 Sep 06
0
Preserve userfield on CDR on attended transfer
I'm attempting to link calls together in my CDR and would like to try to do it via the userfield. Is there any way to copy the userfield between calls when doing an attended transfer? I can't seem to find anything about it searching Google.
-Jon
2006 Feb 01
1
SetCDRUserField not working in A@H?
I have A@H 2.1, running * 1.2.1. I am trying to put information into the
userfield with SetCDRUserField and AppendCDRUserField. However, the field
is never populated in the cdr - I've checked the csv files and the MySQL
asteriskcdrdb table. The field is defined in the MySQL table, but is always
empty. The csv files that get created don't have a userfield at all, that
is, there