[asterisk-bugs] [Asterisk 0016675]: "sip show peer/user <tab>" doesn't complete correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 25 12:55:29 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16675 
====================================================================== 
Reported By:                pj
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16675
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 238313 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-22 15:01 CST
Last Modified:              2011-01-25 12:55 CST
====================================================================== 
Summary:                    "sip show peer/user <tab>"  doesn't complete
correctly
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>

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

---------------------------------------------------------------------- 
 (0131039) svnbot (reporter) - 2011-01-25 12:55
 https://issues.asterisk.org/view.php?id=16675#c131039 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=16675)
  Reported by: pj
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-25 12:55 svnbot         Checkin                                      
2011-01-25 12:55 svnbot         Note Added: 0131039                          
======================================================================




More information about the asterisk-bugs mailing list