[asterisk-bugs] [Asterisk 0013175]: [patch] Allow to set the current username and groupname in the asterisk CLI prompt

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 30 10:22:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13175 
====================================================================== 
Reported By:                eliel
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13175
Category:                   Core/General
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 134004 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-07-27 14:13 CDT
Last Modified:              2008-07-30 10:22 CDT
====================================================================== 
Summary:                    [patch] Allow to set the current username and
groupname in the asterisk CLI prompt
Description: 
Allow to set the username and groupname in the environment variable
ASTERISK_PROMPT (the CLI prompt).
Options: 
     %u = Username
     %g = Groupname
This will be more usefull when having CLI permissions (see
http://bugs.digium.com/view.php?id=11123).
====================================================================== 

---------------------------------------------------------------------- 
 (0090840) svnbot (reporter) - 2008-07-30 10:22
 http://bugs.digium.com/view.php?id=13175#c90840 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 134353

U   trunk/doc/tex/cliprompt.tex
U   trunk/main/asterisk.c

------------------------------------------------------------------------
r134353 | tilghman | 2008-07-30 10:22:13 -0500 (Wed, 30 Jul 2008) | 8
lines

Add %u and %g to the ASTERISK_PROMPT settings, for username and group,
respectively.  Also, take the opportunity to clean up the CLI prompt
generation code.
(closes issue http://bugs.digium.com/view.php?id=13175)
 Reported by: eliel
 Patches: 
       cliprompt.patch uploaded by eliel (license 64)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-30 10:22 svnbot         Checkin                                      
2008-07-30 10:22 svnbot         Note Added: 0090840                          
======================================================================




More information about the asterisk-bugs mailing list