[asterisk-bugs] [Asterisk 0016638]: [patch] Update CDR variables that are available, before pbx starts

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 18 16:00:25 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16638 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16638
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-749 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/455/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-18 15:50 CST
Last Modified:              2010-01-18 16:00 CST
====================================================================== 
Summary:                    [patch] Update CDR variables that are available,
before pbx starts
Description: 
In asterisk 1.6.1 this was done on-hangup, so new fields that were added in
cdr.c:set_one_cid were not seen until after hangup.

Trunk during the hangup, doesn't execute ast_cdr_update anymore, so unless
dialplan code that sets a cdr variable was executed, the variable would not
saved.

First noticed after 'dnid' addition to cdr records.
https://reviewboard.asterisk.org/r/455/
====================================================================== 

---------------------------------------------------------------------- 
 (0116851) svnbot (reporter) - 2010-01-18 16:00
 https://issues.asterisk.org/view.php?id=16638#c116851 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 241097

U   trunk/channels/sig_pri.c

------------------------------------------------------------------------
r241097 | alecdavis | 2010-01-18 16:00:24 -0600 (Mon, 18 Jan 2010) | 10
lines

Update CDR variables before pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during
the call.

(closes issue https://issues.asterisk.org/view.php?id=16638)
Reported by: alecdavis
Patches: 
      cdr_update.diff.txt uploaded by alecdavis (license 585)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=241097 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-18 16:00 svnbot         Checkin                                      
2010-01-18 16:00 svnbot         Note Added: 0116851                          
======================================================================




More information about the asterisk-bugs mailing list