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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 1 12:32:49 CST 2010


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-27 05:47 CST
Last Modified:              2010-02-01 12:32 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
====================================================================== 

---------------------------------------------------------------------- 
 (0117462) lmadsen (administrator) - 2010-02-01 12:32
 https://issues.asterisk.org/view.php?id=16715#c117462 
---------------------------------------------------------------------- 
I'm suspending this issue for now, as it looks like the issue this is
related to is likely something that could resolve this issue. If after
patching and discussing on the other issue, something else appears to be
the issue here, please open a new issue describing what the other issue is
unable to resolve. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-01 12:32 lmadsen        Note Added: 0117462                          
2010-02-01 12:32 lmadsen        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list