[asterisk-bugs] [Asterisk 0016715]: Billing Differences between Carrier and Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 29 14:25:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16715 
====================================================================== 
Reported By:                cianmaher
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16715
Category:                   Addons/cdr_addon_mysql
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-27 05:47 CST
Last Modified:              2010-01-29 14:25 CST
====================================================================== 
Summary:                    Billing Differences between Carrier and Asterisk
Description: 
Some background:

We are using Asterisk 1.6.2 with a Sagonma A108D card. We are using this
server for SS7 to SIP. I have enable asterisk CDR's on this box and am
collecting the cdr's into mysql. We connect to our carrier via ss7.

Our Problem:

Asterisk is reporting different durations for calls when compared to trace
extracted from w1g1 (The signaling link)

Example:

Carrier is reporting a duration of 10.4 seconds, sangoma trace is
reporting a duration of 10.402 but asterisk is reporting a duration of 11.

Here is the dial plan being executed:

[sangoma1]
exten => _X.,1,noop(SS7 Call Start)
exten => _X.,n,Set(CALLERID(ani)=0${CALLERID(ani)})
exten => _X.,n,Set(CALLERID(num)=0${CALLERID(num)})
exten => _X.,n,ResetCDR()
exten => _X.,n,Dial(SIP/1000/${EXTEN})
exten => _X.,n,Hangup

Obviously this is something to do with start and end times of calls and
possible where or how asterisk considers the call started or finished.
However ss7boost does not pass the call to asterisk until answer
confirmation is sent so i would expect asterisk to be as similar as
possible. 

I have set initiatedsecond=no but still have this issue. just not as
much!

Can anyone put some light on this?




======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016559 [patch] Duration and Billsec Decimal Place
====================================================================== 

---------------------------------------------------------------------- 
 (0117388) haakon (reporter) - 2010-01-29 14:25
 https://issues.asterisk.org/view.php?id=16715#c117388 
---------------------------------------------------------------------- 
I think, cianmaher, it might be easier to etablish why there is a
difference, if you try the patch in the other ticket, hence giving much
more precision(read: more data) to work with. This way we will also see if
it is a stable difference all the time, or a varying difference. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-29 14:25 haakon         Note Added: 0117388                          
======================================================================




More information about the asterisk-bugs mailing list