[asterisk-bugs] [Asterisk 0015941]: billsec not available in "h" extensions
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Sep 23 09:31:23 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15941
======================================================================
Reported By: falves11
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15941
Category: Applications/app_cdr
Reproducibility: always
Severity: minor
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 20:20 CDT
Last Modified: 2009-09-23 09:31 CDT
======================================================================
Summary: billsec not available in "h" extensions
Description:
The help for cdr.conf says that if we set
endbeforehexten=yes
the we may retrieve the cdr values in the "h" extension. This is not
happening in this scenario. However, the correct amount is written to the
cdr, therefore, there is a bug. This my dialplan
[teliax]
exten => _X.,1,Set(PROMPT=demo-instruct)
exten =>
_X.,2,Dial(Sip/${EXTEN}@X.X.X.X,25,M(get-callid^${PROMPT})L(1800000))
exten => h,1,Verbose(0,${DIALSTATUS} Seconds ${CDR(billsec)}
exten => h,n,GotoIf($["${DIALSTATUS}" = "ANSWER" & "$(CDR(billsec)}" =
"0"]?label1:label2)
exten => h,n(label1),Set(CDR(amaflags|r)=billing)
exten => h,n(label2),Verbose(0,${CDR(amaflags)})
[macro-get-callid]
exten => s,1,Background(${ARG1})
Note:
If the call hangs up on the second leg, the outbound leg, before the file
ends playing, the cdr reflects the correct information. It proves the the
CDR has the information, but does not make it available to the "h"
extension, contrary to the specification.
======================================================================
----------------------------------------------------------------------
(0111254) falves11 (reporter) - 2009-09-23 09:31
https://issues.asterisk.org/view.php?id=15941#c111254
----------------------------------------------------------------------
Please kindly close the case. I will deal with the business edition
support.
Issue History
Date Modified Username Field Change
======================================================================
2009-09-23 09:31 falves11 Note Added: 0111254
======================================================================
More information about the asterisk-bugs
mailing list