[asterisk-bugs] [Asterisk 0017601]: No CDRs after Goto

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 9 05:47:06 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17601 
====================================================================== 
Reported By:                Postkonform
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17601
Category:                   CDR/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.9 
JIRA:                       SWP-1828 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-07 16:08 CDT
Last Modified:              2010-07-09 05:47 CDT
====================================================================== 
Summary:                    No CDRs after Goto
Description: 
When using the Goto app no CDR is written if the call was answered. 
If the call fails or is not answered a CDR is written.

We use the AMI to check a self made prepaid deposit if enough credit is
left. If so we use the Redirect action to redirect the channel to another
context named initCall where a Dial app establishes the call, so we can not
use the Gosub app where this problem does not occur (The Redirect action
seems to use Goto). 

We tested it without the AMI. In this case we used the Goto directly to
send incoming calls to the initCall context and the same error occurs. If
we use Gosub it does not occur. 

Another interesting thing could be, that if we redirect to another context
where a Playback app will be started a CDR is written (in our case this
will happen if no credit is left) 

The CDR is neither written to CSV nor to MySQL.
====================================================================== 

---------------------------------------------------------------------- 
 (0124376) davidw (reporter) - 2010-07-09 05:47
 https://issues.asterisk.org/view.php?id=17601#c124376 
---------------------------------------------------------------------- 
To be more specific, I think your problem is that you have failed to set
this parameter to yes, which is a support issue, and nothing to do with
goto:

; Define whether or not to log unanswered calls. Setting this to "yes"
will
; report every attempt to ring a phone in dialing attempts, when it was
not 
; answered. For example, if you try to dial 3 extensions, and this option
is "yes",
; you will get 3 CDR's, one for each phone that was rung. Default is "no".
Some
; find this information horribly useless. Others find it very valuable.
Note, in "yes"
; mode, you will see one CDR, with one of the call targets on one side,
and the originating
; channel on the other, and then one CDR for each channel attempted. This
may seem 
; redundant, but cannot be helped.
;unanswered = no


I was also trying to establish whether you were really redirecting a call
on wait, or whether you actually tried to connect it and then aborted it
before or after answer. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-09 05:47 davidw         Note Added: 0124376                          
======================================================================




More information about the asterisk-bugs mailing list