[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:41:28 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16675 
====================================================================== 
Reported By:                pj
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   16675
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
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:              
====================================================================== 
Date Submitted:             2010-01-22 15:01 CST
Last Modified:              2011-01-25 12:41 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>

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

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

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

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

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




More information about the asterisk-bugs mailing list