[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:56:25 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:56 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>

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

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

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

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

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




More information about the asterisk-bugs mailing list