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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 12 04:39:10 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:                     feedback
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-12 04:39 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


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

---------------------------------------------------------------------- 
 (0091335) brainy (reporter) - 2008-08-12 04:39
 http://bugs.digium.com/view.php?id=13263#c91335 
---------------------------------------------------------------------- 
For incoming calls we have:

[incoming]

exten => _+X.,1,Goto(incoming-call,${EXTEN:1},1)
exten => _00X.,1,Goto(incoming-call,${EXTEN:2},1)
exten => _X.,1,Goto(incoming-call,${EXTEN},1)

[incoming-call]

exten => _X.,1,NoCDR
exten => _X.,2,Set(NEX=Y)
exten => _X.,3,ExecIf($["${CALLERID(num)}" = "anonymous"
]|SetCallerPres|prohib_not_screened)
exten => _X.,4,ExecIf($["${CALLERID(num)}" : "\\+"
]|Set|CALLERID(num)=${CALLERID(num):1})
exten => _X.,5,Goto(call,${EXTEN},1)

Context "call" is:
[call]
switch => Realtime/internal at extensions

And within the realtime there's only the Dial() to the specific peer.

Nothing else. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-12 04:39 brainy         Note Added: 0091335                          
======================================================================




More information about the asterisk-bugs mailing list