[asterisk-users] CLI color prompt

Fourhundred Thecat 400thecat at gmx.ch
Sun May 31 08:44:46 CDT 2020


Hello,

how can I change the color of the asterisk prompt to red ?

I read in the wiki that I can use %Cn[;n]

https://wiki.asterisk.org/wiki/display/AST/Asterisk+CLI+Configuration

But what does this mean ?
There is no example how to actually use it.
where do I put it?
What syntax is that anyway?
How do I specify red ?

I currently have this in my environment:

export ASTERISK_PROMPT="[%H]: "

which changes the prompt to hostname

Ho can I make this prompt red ?


thanks,



More information about the asterisk-users mailing list