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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 8 17:10:44 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-08 17:10 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0124369) Postkonform (reporter) - 2010-07-08 17:10
 https://issues.asterisk.org/view.php?id=17601#c124369 
---------------------------------------------------------------------- 
Additionally the CDR that is written if the incoming call is redirected to
the noCredit extension (what maybe is interesting, that this one is
written)

calldate 2010-07-07 22:45:46
clid
src 1 
dst 222 
dcontext Sip-Out 
channel SIP/111-0000000d   
dstchannel 
lastapp Playback 
lastdata demo-nogo 
duration 11 
billsec 11
disposition ANSWERED 
amaflags 3 
accountcode 111 
uniqueid 1278528346.13 
userfield 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-08 17:10 Postkonform    Note Added: 0124369                          
======================================================================




More information about the asterisk-bugs mailing list