[asterisk-bugs] [Asterisk 0015819]: [patch] buggy output in "sip show channelstats"

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 3 07:25:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15819 
====================================================================== 
Reported By:                klaus3000
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   15819
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-02 12:09 CDT
Last Modified:              2009-09-03 07:25 CDT
====================================================================== 
Summary:                    [patch] buggy output in "sip show channelstats"
Description: 
Hi!

"sip show channelstats" output is wrong
- the packetloss in % is always 0 due to integer division instead of float
divison
- the local measured jitter is reported in as rxjitter (which in in
seconds) * 100, converted to int. Multiply with 100 makes no sense - I
supsect a type and it should be 1000 as all other jittervalues (max/min...)
are also multiplyed with 1000.
====================================================================== 

---------------------------------------------------------------------- 
 (0110116) svnbot (reporter) - 2009-09-03 07:25
 https://issues.asterisk.org/view.php?id=15819#c110116 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 215887

U   branches/1.6.2/channels/chan_sip.c
U   branches/1.6.2/main/rtp.c

------------------------------------------------------------------------
r215887 | oej | 2009-09-03 07:25:16 -0500 (Thu, 03 Sep 2009) | 10 lines

Fix bad reports in "sip show channelstats".

Not directly mergeable in svn trunk, needs more tests, therefore committed
directly to 1.6.2.
(closes issue https://issues.asterisk.org/view.php?id=15819)
Reported by: klaus3000
Patches: 
      asterisk-1.6.2-beta4-sipshowchannelstats-patch-0.2.txt uploaded by
klaus3000 (license 65)
Tested by: klaus3000, oej


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=215887 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-03 07:25 svnbot         Checkin                                      
2009-09-03 07:25 svnbot         Note Added: 0110116                          
======================================================================




More information about the asterisk-bugs mailing list