[asterisk-bugs] [Asterisk 0015936]: [patch] Billsec is zero when playing a file in the Dial function
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Sep 30 14:45:27 CDT 2009
A NOTE has been added to this issue.
======================================================================
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: feature
Priority: normal
Status: new
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-30 14:45 CDT
======================================================================
Summary: [patch] 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.
======================================================================
----------------------------------------------------------------------
(0111672) falves11 (reporter) - 2009-09-30 14:45
https://issues.asterisk.org/view.php?id=15936#c111672
----------------------------------------------------------------------
The patch goes only half way, I mean, it is not enough. It records the
moment when the callee picks up the phone, and that is wonderful, but if
the caller, the originator, drops the call, the call continues on for the
callee, even if the caller is long several minutes ago. If the callee drops
the call, then the call correctly stops and gets billed.
The correct way to solve this is to stop the call if either leg sends BYE,
and stop the billing right there. If you need to see an live example please
contact me via the information in Digium's ticket system for ticket
FDI-431113
Issue History
Date Modified Username Field Change
======================================================================
2009-09-30 14:45 falves11 Note Added: 0111672
======================================================================
More information about the asterisk-bugs
mailing list