[asterisk-users] How to use these feature of Asterisk

A J Stiles asterisk_list at earthshod.co.uk
Fri Jul 29 06:34:35 CDT 2011


On Friday 29 Jul 2011, virendra bhati wrote:
> Hi List,
>
> I want to use these features but nothing was found after googling . please
> give me some examples
>
> Asterisk CLI prompt
> Changing the CLI Prompt
>
> The CLI prompt is set with the ASTERISK_PROMPT UNIX environment variable
> that
> you set from the Unix shell before starting the Asterisk CLI (not the
> server).

All you have to do is set an environment variable, and then make sure that it 
gets passed on to the `asterisk -r`process.  For example:

# export ASTERISK_PROMPT="Asterisk@%h:"
# asterisk -vvvvvr

or even just

# ASTERISK_PROMPT="Asterisk@%h:" asterisk -vvvvvr

-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list