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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 20 03:37:55 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16638 
====================================================================== 
Reported By:                alecdavis
Assigned To:                alecdavis
====================================================================== 
Project:                    Asterisk
Issue ID:                   16638
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
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-20 03:37 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/
====================================================================== 

---------------------------------------------------------------------- 
 (0116972) svnbot (reporter) - 2010-01-20 03:37
 https://issues.asterisk.org/view.php?id=16638#c116972 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 241457

U   branches/1.6.0/main/pbx.c

------------------------------------------------------------------------
r241457 | alecdavis | 2010-01-20 03:37:55 -0600 (Wed, 20 Jan 2010) | 14
lines

Update CDR variables as pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during
the call,
by executing ast_cdr_update() early in __ast_pbx_run.

Based on cdr_update.diff3.txt

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


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-20 03:37 svnbot         Checkin                                      
2010-01-20 03:37 svnbot         Note Added: 0116972                          
======================================================================




More information about the asterisk-bugs mailing list