Summary:ASTERISK-20046: CDR data in userfield for called channel is duplicated when set on calling and called channels
Reporter:sdolloff (sdolloff)Labels:
Date Opened:2012-06-25 14:15:23Date Closed:2017-12-19 05:46:23.000-0600
Status:Closed/CompleteComponents:Applications/app_queue CDR/General
Versions:SVN Frequency of
Environment:CentOS 5.4 . Intel(R) Xeon(R) CPU E31220 @ 3.10GHz, 4g RAM. asterisk 0) cdrrecordsanddialplan.txt
( 1) extensioncall.txt
( 2) queuecall.txt
Description:when calling an agent from a queue, the cdr userfield is consistantly being duplicated multiple times to look like "inbound-5555553079inbound-5555553079;inbound-5555553079" instead of "inbound-5555553079"

I have attched related cdr records, dialplans, queue status, and debug/verbose output from a queue call and a non-queue call.

this is happening with all version of 1.8 that I tested including 1.8.1 and
Comments:By: sdolloff (sdolloff) 2012-06-25 14:16:00.463-0500

cdr records and dialplan snippets

By: sdolloff (sdolloff) 2012-06-25 14:16:24.916-0500

verbose output during a queue call

By: sdolloff (sdolloff) 2012-06-25 14:16:41.411-0500

verbose output during a non-queue call

By: Rusty Newton (rnewton) 2012-06-27 19:00:41.421-0500

Thanks for all the info sdolloff. The report is acknowledged and seeing as this is an extended support component, you might post on the mailing list to see if a community developer wants to take a look into it.

By: vladimir shmagin (shmagin) 2012-11-19 06:43:34.564-0600

The problem persists in

By: Matt Jordan (mjordan) 2012-11-19 08:13:12.742-0600

Your issue is in queue, please be patient, and we will get to it as time permits and developer resources become available.

Note that as no developer is working this, it is expected that this would still be an issue in the current releases of Asterisk.

By: Perssy Llamosas (pll) 2013-02-07 13:15:40.595-0600

This is happening in Asterisk 11.1.0 using cdr_adaptive_odbc.so as well. Only happens with Queues.

By: Rusty Newton (rnewton) 2014-02-17 17:33:49.911-0600

Ran into this while looking at another issue. I was only using cdr_custom, without any database backend.

Can reproduce by simply running Set(CDR(userfield)=Whatever) on both the calling channel, and then within the Macro or GoSub executed by app_queue.

By: Joshua C. Colp (jcolp) 2017-12-19 05:46:24.046-0600

As of Asterisk 13 CDRs have been completely rewritten and I do not believe this issue is still applicable. As a result I am suspending this.