[Home]

Summary:ASTERISK-02591: [patch] more details for sip show peers
Reporter:Clod Patry (junky)Labels:
Date Opened:2004-10-12 19:53:43Date Closed:2008-01-15 15:10:44.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) peers_stat.diff.txt
( 1) peers_stat2.diff.txt
Description:this patch gives more details on the "sip show peers" command. That could be useful if ya've many peers and wanna know how many peers are loaded, how many are online/offline.
example:
debian*CLI> sip show peers
Name/username    Host            Dyn Nat ACL Mask             Port     Status
138/138          (Unspecified)    D          255.255.255.255  0        UNKNOWN
21/21            (Unspecified)    D          255.255.255.255  0        UNKNOWN
11/11            (Unspecified)    D   N      255.255.255.255  0        UNKNOWN
10/10            192.168.123.100  D   N      255.255.255.255  5060     OK (3 ms)
4 sip peers loaded [1 onlines , 3 offlines]
debian*CLI>

Comments:By: Mark Spencer (markster) 2004-10-12 21:07:17

Added to CVS, but next time please mention that you have a disclaimer on file  Thanks!

By: Russell Bryant (russell) 2004-10-12 22:16:25

not included in 1.0

By: Clod Patry (junky) 2004-10-14 17:25:32

The new patch will consider any unmonitored peers too.

edited on: 10-14-04 17:25

By: Mark Spencer (markster) 2004-10-16 18:41:16

Fixed in CVS.

By: Digium Subversion (svnbot) 2008-01-15 15:10:14.000-0600

Repository: asterisk
Revision: 3988

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r3988 | markster | 2008-01-15 15:10:13 -0600 (Tue, 15 Jan 2008) | 2 lines

Peers stats improvements (bug ASTERISK-2591)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:10:44.000-0600

Repository: asterisk
Revision: 4024

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r4024 | markster | 2008-01-15 15:10:43 -0600 (Tue, 15 Jan 2008) | 2 lines

Improve peer stats (bug ASTERISK-2591)

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

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