[asterisk-bugs] [Asterisk 0015936]: Billsec is zero when playing a file in the Dial function

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 22 15:12:15 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15936 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15936
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 219720 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-22 14:49 CDT
Last Modified:              2009-09-22 15:12 CDT
====================================================================== 
Summary:                    Billsec is zero when playing a file in the Dial
function
Description: 
The Open Source 1.4 version of Asterisk will bill nothing, zero, if the
caller or callee hangs up before the file has finished playing, but will
record the duration of the call correctly, just the billsec amount is
wrong. It is very easy to duplicate. My dialplan is one line:
exten =>
_X.,1,Dial(Sip/${EXTEN}@XXX.XX.XX.XXX,25,CA(demo-instruct)L(1800000))

The file demo_instruct is part of asterisk's sounds and it is the longest
one. Just place a sip call and hangup a few seconds into the call. The CDR
will show zero  billsec, but duration will be 60+ seconds.


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

---------------------------------------------------------------------- 
 (0111216) tilghman (administrator) - 2009-09-22 15:12
 https://issues.asterisk.org/view.php?id=15936#c111216 
---------------------------------------------------------------------- 
This is by design.  An announcement is generally played to the called user,
and the caller remains unanswered until the two are bridged, so for the
caller, the billed seconds are indeed 0 (since the CDR belongs to the
caller). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-22 15:12 tilghman       Note Added: 0111216                          
2009-09-22 15:12 tilghman       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list