[asterisk-bugs] [Asterisk 0017311]: channelstats packet loss is reported wrong

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 9 21:07:26 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17311 
====================================================================== 
Reported By:                rsw686
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17311
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.8-rc1 
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-05-09 21:07 CDT
Last Modified:              2010-05-09 21:07 CDT
====================================================================== 
Summary:                    channelstats packet loss is reported wrong
Description: 
When doing a sip show channelstats the packet loss reported on the SIP
trunk looks to be incorrect. There is no noticeable packet loss in the
conversations. When repeatedly running the command the packet loss will
just jump from 0.

Exmaple 1
voip*CLI> sip show channelstats
Peer          Call ID      Duration Recv: Pack  Lost       (     %) Jitter
Send: Pack  Lost       (     %) Jitter
10.x.x.x         21133a63-7a  00:00:13 0000000416  0000000000 ( 0.00%)
000000 0000000419  0000000000 ( 0.00%) 000000
70.x.x.x         71f26d9d7d9  00:00:13 0000000422  0000000000 ( 0.00%)
000000 0000000416  0016777212 (4032983.65%) 000000
2 active SIP channels

Exmaple 2
voip*CLI> sip show channelstats
Peer         Call ID      Duration Recv: Pack  Lost       (     %) Jitter
Send: Pack  Lost       (     %) Jitter
70.x.x.x         0bb390c31ca  00:00:21 0000000857  0000000000 ( 0.00%)
000000 0000000852  0016777212 (1969156.34%) 000000
10.x.x.x         1ee3fcbd-6a  00:00:21 0000000852  0000000000 ( 0.00%)
000000 0000000854  0000000000 ( 0.00%) 000000
2 active SIP channels

Example 3 (repeatedly running the command)
voip*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost       (     %)
Jitter Send: Pack  Lost       (     %) Jitter
10.x.x.x         f8e1f382-c7  00:00:11 0000000322  0000000000 ( 0.00%)
000000 0000000325  0000000000 ( 0.00%) 000000
70.x.x.x         04e5d50a136  00:00:11 0000000342  0000000000 ( 0.00%)
000000 0000000322  0000000000 ( 0.00%) 000000
2 active SIP channels
voip*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost       (     %)
Jitter Send: Pack  Lost       (     %) Jitter
10.x.x.x         f8e1f382-c7  00:00:12 0000000373  0000000000 ( 0.00%)
000000 0000000376  0000000000 ( 0.00%) 000000
70.x.x.x         04e5d50a136  00:00:12 0000000393  0000000000 ( 0.00%)
000000 0000000373  0000000000 ( 0.00%) 000000
2 active SIP channels
voip*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost       (     %)
Jitter Send: Pack  Lost       (     %) Jitter
10.x.x.x         f8e1f382-c7  00:00:13 0000000415  0000000000 ( 0.00%)
000000 0000000418  0000000000 ( 0.00%) 000000
70.x.x.x         04e5d50a136  00:00:13 0000000435  0000000000 ( 0.00%)
000000 0000000415  0000000000 ( 0.00%) 000000
2 active SIP channels
voip*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost       (     %)
Jitter Send: Pack  Lost       (     %) Jitter
10.x.x.x         f8e1f382-c7  00:00:14 0000000458  0000000000 ( 0.00%)
000000 0000000462  0000000000 ( 0.00%) 000000
70.x.x.x         04e5d50a136  00:00:14 0000000479  0000000000 ( 0.00%)
000000 0000000458  0016777213 (3663146.94%) 000000
2 active SIP channels
voip*CLI> sip show channelstats
Peer             Call ID      Duration Recv: Pack  Lost       (     %)
Jitter Send: Pack  Lost       (     %) Jitter
10.x.x.x         f8e1f382-c7  00:00:14 0000000500  0000000000 ( 0.00%)
000000 0000000503  0000000000 ( 0.00%) 000000
70.x.x.x         04e5d50a136  00:00:14 0000000520  0000000000 ( 0.00%)
000000 0000000500  0016777213 (3355442.60%) 000000
2 active SIP channels

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-09 21:07 rsw686         New Issue                                    
2010-05-09 21:07 rsw686         Asterisk Version          => 1.6.2.8-rc1     
2010-05-09 21:07 rsw686         Regression                => No              
2010-05-09 21:07 rsw686         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list