[asterisk-bugs] [Asterisk 0014744]: ForkCDR creates 3 CDR's

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 29 04:36:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14744 
====================================================================== 
Reported By:                deepesh
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14744
Category:                   Applications/app_forkcdr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-25 05:37 CDT
Last Modified:              2009-03-29 04:36 CDT
====================================================================== 
Summary:                    ForkCDR creates 3 CDR's
Description: 
Hello,

After upgrading to asterisk 1.4.23.2 from asterisk 1.4.19.1, I am facing
problems with ForkCDR. While using ForkCDR I am getting three cdr's instead
of two. My dialplan is as follows.

[dialexten]
exten => 763,1,SetCDRUserField(764)
exten => 763,n,ForkCDR()
exten => 763,n,SetCDRUserField(763)
exten => 763,n,Dial(SIP/763)
exten => 763,n,Hangup

After exten 763 is answered it creates three cdrs.
The first cdr has userfield 763 and ANSWERED
Second cdr has userfield 764 and ANSWERED
Third cdr has userfield 763 and NO ANSWER

In the earlier version (1.4.19.1) only the first two cdrs used to be
created.

Thanks in advance.

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

---------------------------------------------------------------------- 
 (0102353) Keeky (reporter) - 2009-03-29 04:36
 http://bugs.digium.com/view.php?id=14744#c102353 
---------------------------------------------------------------------- 
I think that in your case it's normal that they have same billsecs.
There is no difference between your extension action.

I'm using forkcdr for a purpose
1. Incoming call in a context
2. Transfer is active I need to foward the call to my cell
3. ForkCDR
4. Dial to my cell
So now I have 2 CDR one for the incoming call with correct duration,
billsec and disposition and one for the dial to my cell. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-29 04:36 Keeky          Note Added: 0102353                          
======================================================================




More information about the asterisk-bugs mailing list