[asterisk-bugs] [Asterisk 0013263]: NoCDR does not work as expected in latest SVN

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 20 12:06:02 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13263 
====================================================================== 
Reported By:                brainy
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13263
Category:                   CDR/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 135949 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-09 03:11 CDT
Last Modified:              2008-08-20 12:06 CDT
====================================================================== 
Summary:                    NoCDR does not work as expected in latest SVN
Description: 
We are using NoCDR to not record incoming calls. With the latest SVN it
doesnt work anymore as expected since there is a CDR recorded but not with
all details:

Example (with NoCDR in the dialrule):
   calldate: 2008-08-09 10:14:07
       clid:
        src:
        dst: s
   dcontext: internal
    channel: SIP/v1941001-08381800
 dstchannel:
    lastapp:
   lastdata:
   duration: 6
    billsec: 6
disposition: ANSWERED
   amaflags: 3
accountcode:
   uniqueid:
  userfield:
         id: 22876
       bill: 1
   exported: 0

and without NoCDR (the full entry is generated):
   calldate: 2008-08-09 10:13:24
       clid: "anonymous" <anonymous>
        src: anonymous
        dst: 4989xxxxxxxx
   dcontext: call
    channel: SIP/80.237.199.41-082bc1e8
 dstchannel: SIP/v1941001-08375e00
    lastapp: Dial
   lastdata: SIP/v1941001/498938539262999
   duration: 6
    billsec: 6
disposition: ANSWERED
   amaflags: 3
accountcode:
   uniqueid:
  userfield:
         id: 22875
       bill: 0
   exported: 0


====================================================================== 

---------------------------------------------------------------------- 
 (0091588) svnbot (reporter) - 2008-08-20 12:06
 http://bugs.digium.com/view.php?id=13263#c91588 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 139074

U   branches/1.4/main/cdr.c

------------------------------------------------------------------------
r139074 | murf | 2008-08-20 12:06:01 -0500 (Wed, 20 Aug 2008) | 12 lines


(closes issue http://bugs.digium.com/view.php?id=13263)
Reported by: brainy
Tested by: murf

The specialized reset routine is tromping on the
flags field of the CDR. I made a change to not
reset the DISABLED bit. This should get rid of this
problem.



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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-20 12:06 svnbot         Checkin                                      
2008-08-20 12:06 svnbot         Note Added: 0091588                          
======================================================================




More information about the asterisk-bugs mailing list