[Home]

Summary:ASTERISK-15492: "sip show peer/user <tab>" doesn't complete correctly
Reporter:pj (pj)Labels:
Date Opened:2010-01-22 15:01:42.000-0600Date Closed:2011-01-25 12:56:25.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have type=user for entry "910", so it's not expected, that this entry will be listed for completion, when I do "sip show peer <tab>":
localhost*CLI> sip show peer <tab>
910  mi-gw  165

localhost*CLI> sip show peer 910
Peer 910 not found.


When I do "sip show user <tab>" - it doesn't list all "users" entries for completion, but directly shows details for user, that is last entry from "sip show users" list

localhost*CLI> sip show users
Username                   Secret  
999                        ***  
888                        ***  
910                        ***  

localhost*CLI> sip show user <tab>
 * Name       : 910
 Secret       : <Set>
 MD5Secret    : <Not set>


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

"sip show peers" is working fine - it lists only peers
"sip show users" is working fine - it lists only users

Comments:By: Digium Subversion (svnbot) 2011-01-25 12:41:27.000-0600

Repository: asterisk
Revision: 303858

U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r303858 | tilghman | 2011-01-25 12:41:27 -0600 (Tue, 25 Jan 2011) | 5 lines

Fix "sip show user <tab>", so that it actually shows results, instead of just completing the last entry.

(closes issue ASTERISK-15492)
Reported by: pj

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

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

By: Digium Subversion (svnbot) 2011-01-25 12:55:28.000-0600

Repository: asterisk
Revision: 303860

_U  branches/1.8/
U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r303860 | tilghman | 2011-01-25 12:55:28 -0600 (Tue, 25 Jan 2011) | 12 lines

Merged revisions 303858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
 r303858 | tilghman | 2011-01-25 12:41:26 -0600 (Tue, 25 Jan 2011) | 5 lines
 
 Fix "sip show user <tab>", so that it actually shows results, instead of just completing the last entry.
 
 (closes issue ASTERISK-15492)
 Reported by: pj
........

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

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

By: Digium Subversion (svnbot) 2011-01-25 12:56:25.000-0600

Repository: asterisk
Revision: 303861

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r303861 | tilghman | 2011-01-25 12:56:24 -0600 (Tue, 25 Jan 2011) | 19 lines

Merged revisions 303860 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
 r303860 | tilghman | 2011-01-25 12:55:27 -0600 (Tue, 25 Jan 2011) | 12 lines
 
 Merged revisions 303858 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.6.2
 
 ........
   r303858 | tilghman | 2011-01-25 12:41:26 -0600 (Tue, 25 Jan 2011) | 5 lines
   
   Fix "sip show user <tab>", so that it actually shows results, instead of just completing the last entry.
   
   (closes issue ASTERISK-15492)
   Reported by: pj
 ........
................

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

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