[asterisk-bugs] [Asterisk 0017733]: CDR(userfield) is not saved when called by Set(userfield) activated by a feature

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 27 21:47:58 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17733 
====================================================================== 
Reported By:                integratedvoip
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17733
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.6.2 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-27 21:37 CDT
Last Modified:              2010-07-27 21:47 CDT
====================================================================== 
Summary:                    CDR(userfield) is not saved when called by
Set(userfield) activated by a feature
Description: 
This is almost identical to bug 0015502 which was closed.

In my applicationmap within features.conf i have the following:
setExtension628 =>
*7628,peer/callee,Set,CDR(userfield)=internal_extension=628,default

For an inboound call i dial *7628 on the callee and the CDR(userfield)
channel variable is set on the caller (peer). However when the call is
completed the CDR(userfield) is not saved correctly


====================================================================== 

---------------------------------------------------------------------- 
 (0125170) integratedvoip (reporter) - 2010-07-27 21:47
 https://issues.asterisk.org/view.php?id=17733#c125170 
---------------------------------------------------------------------- 
Within the CDR recordord in the MySQL database i have:

mysql> select * from cdr where uniqueid = '1280283606.509' order by
calldate desc limit 10;
+-------+---------------------+------+-----+----------+-------------------+-----------+------------------+---------+----------+----------+---------+-------------+----------+-------------+----------------+----------------+
| id    | calldate            | clid | src | dst      | dcontext         
| channel   | dstchannel       | lastapp | lastdata | duration | billsec |
disposition | amaflags | accountcode | uniqueid       | userfield      |
+-------+---------------------+------+-----+----------+-------------------+-----------+------------------+---------+----------+----------+---------+-------------+----------+-------------+----------------+----------------+
| 20032 | 2010-07-28 12:20:06 |      |     | XXXXXXXX | from-public-pri-1
| DAHDI/9-1 | SIP/301-0000001a | Dial    | SIP/301  |       43 |      37 |
ANSWERED    |        3 |             | 1280283606.509 | recording=true |
+-------+---------------------+------+-----+----------+-------------------+-----------+------------------+---------+----------+----------+---------+-------------+----------+-------------+----------------+----------------+


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-27 21:47 integratedvoip Note Added: 0125170                          
======================================================================




More information about the asterisk-bugs mailing list