I work from a similar setup. I ssh'ed to my personal PBX from an xterm
window on an Ubuntu 16 workstation, your prompt seems to work:
*Jeff LaCoursiere*
STRATUSTALK, INC. / CTO
Phone: *+1 703.496.4990 x108*
Mobile: *+1 815.546.6599*
Email: *j...@stratustalk.com*
> On 2020-06-01 10:07, Michael Maier wrote:
Same problem here (asterisk 16.x / CentOS 7).
# echo $TERM
xterm-256color
I am using asterisk 16.x as well, on Debian Buster.
=> CLI prompt looks the same as described by the OP:
[1;31m[myhostname]:
But to make it even more strange: colored
On 31.05.20 at 19:26 Jeff LaCoursiere wrote:
> Hi,
>
> I had posted this a few hours ago, but got caught in moderation for size. I
> trimmed down the pic and attached.
>
> I am on an Ubuntu 16 workstation, in an Ubuntu terminal window, ssh'ed to the
> PBX (amazon instance). You can see my
> On 2020-05-31 19:26, Jeff LaCoursiere wrote:
Hi,
I really don't know why yours doesn't work. Perhaps you can tell us
what your terminal emulator is, what you are running it on, etc.
Whatever it is, it isn't properly interpreting the escape codes for
xterm-256color. You could possibly try
Hi,
I had posted this a few hours ago, but got caught in moderation for
size. I trimmed down the pic and attached.
I am on an Ubuntu 16 workstation, in an Ubuntu terminal window, ssh'ed
to the PBX (amazon instance). You can see my term type matches yours.
I really don't know why yours
> On 2020-05-31 18:39, Ira wrote:
>
> I typed this at the terminal prompt: export ASTERISK_PROMPT="%C31[%H]: "
>
> Typing at the same place: echo $TERM returns xterm
>
> And now I have colored prompts at the Asterisk command line, so I can
> assure you it can work. Kind of cool, 14 years using
Hello Fourhundred,
Sunday, May 31, 2020, 9:04:10 AM, you wrote:
Fourhundred> Did you test it on your side?
Fourhundred> It color prompt works for anybody, could you please post a working
example?
Fourhundred> Or is this a fictional functionality that actually does not work ?
I typed this at
> On 2020-05-31 15:59, Antony Stone wrote:
> On Sunday 31 May 2020 at 15:44:46, Fourhundred Thecat wrote:
>
> So, try:
>
> export ASTERISK_PROMPT="%C31[%H]: "
does this work for you?
Did you test it on your side?
It color prompt works for anybody, could you please post a working example?
Or is
> On 2020-05-31 16:59, Telium Technical Support wrote:
> That means that Asterisk is not echoing the escape character (27) to your
> terminal.
>
> Try different escape formats (octal, slash prefix, etc)
can somebody please provide working example ?
What exactly to I have to export?
--
, 2020 10:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] CLI color prompt
> On 2020-05-31 16:25, Jeff LaCoursiere wrote:
> I'm pretty sure that means your are using a non-color capable
> terminal, or your termtype variable is incorrect. Wha
> On 2020-05-31 16:25, Jeff LaCoursiere wrote:
I'm pretty sure that means your are using a non-color capable terminal,
or your termtype variable is incorrect. What are you using for a
terminal emulator?
my terminal supports colors, I am using colored prompt in bash/zsh
already. I made a
> On 2020-05-31 16:24, Antony Stone wrote:
On Sunday 31 May 2020 at 16:03:07, Fourhundred Thecat wrote:
export ASTERISK_PROMPT="%C31[%H]: "
I get this prompt (voip is my hostname):
[1;31m[voip]: [1;0m
In that case I suspect you're using a terminal which doesn't support colours.
If "echo
I'm pretty sure that means your are using a non-color capable terminal,
or your termtype variable is incorrect. What are you using for a
terminal emulator?
*Jeff LaCoursiere*
STRATUSTALK, INC. / CTO
Phone: *+1 703.496.4990 x108*
Mobile: *+1 815.546.6599*
Email:
On Sunday 31 May 2020 at 16:03:07, Fourhundred Thecat wrote:
> export ASTERISK_PROMPT="%C31[%H]: "
>
> I get this prompt (voip is my hostname):
>
> [1;31m[voip]: [1;0m
In that case I suspect you're using a terminal which doesn't support colours.
If "echo $TERM" tells you any sort of "xterm",
> On 2020-05-31 15:59, Antony Stone wrote:
On Sunday 31 May 2020 at 15:44:46, Fourhundred Thecat wrote:
"%Cn[;n] - Change terminal foreground (and optional background) color to
specified A full list of colors may be found in include/asterisk/term.h"
So, try:
export ASTERISK_PROMPT="%C31[%H]:
On Sunday 31 May 2020 at 15:44:46, Fourhundred Thecat wrote:
> 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
"The CLI prompt is set with the
Of Fourhundred Thecat
Sent: Sunday, May 31, 2020 9:45 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] CLI color prompt
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
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
18 matches
Mail list logo