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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 27 05:47:26 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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-27 05:47 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?




====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-27 05:47 cianmaher      New Issue                                    
2010-01-27 05:47 cianmaher      Asterisk Version          => 1.6.2.0         
2010-01-27 05:47 cianmaher      Regression                => No              
2010-01-27 05:47 cianmaher      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list