[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 12:48:31 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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 12:48 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 :-(
====================================================================== 

---------------------------------------------------------------------- 
 (0107724) ruffle (reporter) - 2009-07-14 12:48
 https://issues.asterisk.org/view.php?id=15502#c107724 
---------------------------------------------------------------------- 
Oh. :-(

Sorry if this isn't the right forum to ask but how does one set the
CDR(userfield) on the calling channel from within a feature/macro then? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-14 12:48 ruffle         Note Added: 0107724                          
======================================================================




More information about the asterisk-bugs mailing list