[Home]

Summary:ASTERISK-12465: [patch] Allow to set the current username and groupname in the asterisk CLI prompt
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2008-07-27 14:13:11Date Closed:2008-07-30 10:22:21
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cliprompt.patch
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 ASTERISK-10653).
Comments:By: Digium Subversion (svnbot) 2008-07-30 10:22:15

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 ASTERISK-12465)
Reported by: eliel
Patches:
      cliprompt.patch uploaded by eliel (license 64)

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

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