[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 02:18:48 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 02:18 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/
====================================================================== 

---------------------------------------------------------------------- 
 (0116967) svnbot (reporter) - 2010-01-20 02:18
 https://issues.asterisk.org/view.php?id=16638#c116967 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 241416

U   trunk/channels/sig_pri.c
U   trunk/main/pbx.c

------------------------------------------------------------------------
r241416 | alecdavis | 2010-01-20 02:18:47 -0600 (Wed, 20 Jan 2010) | 13
lines

Update CDR variables before 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.
Reverts sig_pri changes in trunk that are specific to isdn technology
only.

(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=241416 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-20 02:18 svnbot         Checkin                                      
2010-01-20 02:18 svnbot         Note Added: 0116967                          
======================================================================




More information about the asterisk-bugs mailing list