[asterisk-bugs] [Asterisk 0015502]: Setting CDR(userfield) fails when called from inside a Macro initiated from a feature.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 14 10:03:00 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15502 
====================================================================== 
Reported By:                ruffle
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15502
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.25 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-14 08:33 CDT
Last Modified:              2009-07-14 10:03 CDT
====================================================================== 
Summary:                    Setting CDR(userfield) fails when called from inside
a Macro initiated from a feature.
Description: 
I use a feature code to enable recording with MixMonitor (mapped to the
Record button on a snom FWIW). 

The feature calls a macro and in that macro I set CDR(userfield) with the
recording filename.

When the cdr record is written out (in cdr_mysql and in cdr-customer csv
format) the CDR(userfield) is blank.

If I set CDR(userfield) elsewhere in my dialplan, it does propogate
through to the CDR records correctly.

As I use the CDR(userfield) to get the recording filename in my web
interface this is a bit annoying :-(
====================================================================== 

---------------------------------------------------------------------- 
 (0107715) tilghman (administrator) - 2009-07-14 10:03
 https://issues.asterisk.org/view.php?id=15502#c107715 
---------------------------------------------------------------------- 
Actually, this is completely expected, because the CDR is located on the
calling channel, not the callee channel. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-14 10:03 tilghman       Note Added: 0107715                          
2009-07-14 10:03 tilghman       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list