[Home]

Summary:ASTERISK-03874: sip show inuse has stopped working in latest cvs
Reporter:Daniel Niasoff (dniasoff)Labels:
Date Opened:2005-04-05 18:22:38Date Closed:2011-06-07 14:04:39
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip.auto.conf
( 1) sip.conf
Description:This is all I get
* User name               In use          Limit          
* Peer name               In use          Limit      
even though the channels below are in use
voip1*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)   Format  Last Msg
10.0.16.67       (None)      001280bb-de  00101/12614   unknow  Rx: REGISTER
192.168.60.60    8124        213a2858648  00102/00000   ulaw    Tx: ACK
2 active SIP channel(s)

****** ADDITIONAL INFORMATION ******

It worked fine before an upgrade
Comments:By: Kevin P. Fleming (kpfleming) 2005-04-05 18:49:18

The syntax for that command changed in February; 'sip show inuse' now only shows channels for users/peers with an 'incominglimit' specified. 'sip show inuse all' shows all SIP channels.

By: Daniel Niasoff (dniasoff) 2005-04-06 01:18:26

The value for all channels stay fixed at 0, even if I apply an incoming limit.
I can be speaking on a sip channel and 'sip show inuse all'/'sip show inuse' will still register me as not inuse.

By: Kevin P. Fleming (kpfleming) 2005-04-06 11:28:48

You are correct, this behavior is certainly non-intuitive. I'll assign this bug to oej, since he is the one who rebuilt that CLI function and he can better describe how it's supposed to work, or fix it.

By: Olle Johansson (oej) 2005-04-09 03:55:16

Need to see a sip.conf, thanks.

By: Daniel Niasoff (dniasoff) 2005-04-09 15:12:02

If you would like root access, email me.

By: Olle Johansson (oej) 2005-04-10 13:50:46

Set incominglimit on a few peers, then test with "sip show inuse" and "sip show inuse all". Your calls in the bug report description is a register transaction (not a call) and an ACK of some kind, which might not be a "call" either.

By: Kevin P. Fleming (kpfleming) 2005-04-13 01:09:54

Since that ACK has a codec assigned, I'd make the assumption that it represents a real call that is in progress at that moment.

Previously, 'sip show inuse' showed all users, regardless of whether they had limits specified or not. 'sip show inuse all' supplies that behavior now, and baed on the code I don't see how it could not work as expected. The code to actually keep the 'inuse' counter seems to still be in place as well.

By: Olle Johansson (oej) 2005-04-19 11:50:54

No response from submitter.