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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 11 13:24:49 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-09-11 13:24 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


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

---------------------------------------------------------------------- 
 (0092352) murf (administrator) - 2008-09-11 13:24
 http://bugs.digium.com/view.php?id=13263#c92352 
---------------------------------------------------------------------- 
Try applying the attached 13263.diff2 patch to your 1.4 source, and see if
it gets rid of the unwanted CDR's.

It looks good to me, but I'll hold off merging it to all releases until
I've heard from you, unless you take more than a day to do so... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-11 13:24 murf           Note Added: 0092352                          
======================================================================




More information about the asterisk-bugs mailing list