[asterisk-bugs] [Asterisk 0017609]: Billsec is zero although disposition is Answered

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 19 10:25:31 CDT 2010


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=17609 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17609
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 274579 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-08 21:38 CDT
Last Modified:              2010-07-19 10:25 CDT
====================================================================== 
Summary:                    Billsec is zero although disposition is Answered
Description: 
The call lasts for over 10 seconds, duration is 13 secs, billsec is zero
but disposition is Answered, or "8"
I use cdr_odbc.
This is my code for the "h" extension:
exten => h,1,GotoIf($["${DIALSTATUS}" = "ANSWER" & "${CDR(billsec,l)}" =
"0" ]?label1:label2)
exten => h,n(label1),Set(CDR(amaflags|r)=billing)
exten => h,n(label2),Verbose(1,${HANGUPCAUSE} --DIALSTATUS= ${DIALSTATUS}
Seconds= ${CDR(billsec,l)} AMAFLAGS=${CDR(amaflags)})

The trace goes below
====================================================================== 

---------------------------------------------------------------------- 
 (0124707) pabelanger (manager) - 2010-07-19 10:25
 https://issues.asterisk.org/view.php?id=17609#c124707 
---------------------------------------------------------------------- 
Suspended due to lack of activity. Please request a bug marshal in
#asterisk-bugs on the IRC network irc.freenode.net to reopen the issue
should you have the additional information requested.

Further information can be found at
http://www.asterisk.org/developers/bug-guidelines 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-19 10:25 pabelanger     Note Added: 0124707                          
2010-07-19 10:25 pabelanger     Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list