[asterisk-bugs] [Asterisk 0017761]: CDR(userfield) is not saved when called by Set(CDR(userfield)=...) activated by features.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 21:50:28 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17761 
====================================================================== 
Reported By:                integratedvoip
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17761
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
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-29 19:13 CDT
Last Modified:              2010-08-03 21:50 CDT
====================================================================== 
Summary:                    CDR(userfield) is not saved when called by
Set(CDR(userfield)=...) activated by features.conf
Description: 
This is a follow on from issue number 17733 because it was closed before i
could explain it.

This issue (17733) was not exactly the same as issue number 0015502
because i was modifying the CDR(userfield) on the caller and NOT the
callee. Issue number 0015502 was trying to modify the CDR(userfield) on the
callee.

In my example i made an inbound call to SIP extension 301. Then on SIP
extension 301 after the call was answered i dialled *7628 to activate the
feature on the peer (i.e. not SIP/301, but the caller). The CDR(userfield)
changed for the caller but was not save to the DB.

Please help. If i dont understand please help by telling me where i have
gone wrong as i cannot see it. It looks like a bug to me.

Thanks in advance.
====================================================================== 

---------------------------------------------------------------------- 
 (0125515) integratedvoip (reporter) - 2010-08-03 21:50
 https://issues.asterisk.org/view.php?id=17761#c125515 
---------------------------------------------------------------------- 
In my extensions.conf i have

exten =>
94738677,1,Set(__DYNAMIC_FEATURES=setExtension621#setExtension622#setExtension623#setExtension624#setExtension625#setExtension626)
exten => 94738677,n,Dial(SIP/301)

In my features.conf i have:

setExtension621 =>
*1,peer/callee,Set,CDR(userfield)=internal_extension=621,default
setExtension622 =>
*2,peer/caller,Set,CDR(userfield)=internal_extension=622,default
setExtension623 =>
*3,self/callee,Set,CDR(userfield)=internal_extension=623,default
setExtension624 =>
*4,self/caller,Set,CDR(userfield)=internal_extension=624,default

setExtension625 =>
*5,peer/both,Set,CDR(userfield)=internal_extension=625,default
setExtension626 =>
*6,peer/both,Set,CDR(userfield)=internal_extension=626,default


i dial *1 *2 *3 *4 *5 *6 from the caller and the callee and the
CDR(userfield) is never saved to the DB. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 21:50 integratedvoip Note Added: 0125515                          
======================================================================




More information about the asterisk-bugs mailing list