[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:38:10 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:38 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/
====================================================================== 

---------------------------------------------------------------------- 
 (0116973) svnbot (reporter) - 2010-01-20 03:38
 https://issues.asterisk.org/view.php?id=16638#c116973 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 241458

U   branches/1.4/main/pbx.c

------------------------------------------------------------------------
r241458 | alecdavis | 2010-01-20 03:38:09 -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=241458 

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




More information about the asterisk-bugs mailing list