On Wed, 3 Aug 2022, Carlos Chavez wrote:
...running "asterisk -rx"...
The '-r' is implied:
-x command
Connect to a running Asterisk process
and execute a command on a command line,
passing any output through to standard
out
Haven't tried this, but try piping through 'strings'
j
On Wed, Aug 3, 2022 at 6:13 PM Carlos Chavez wrote:
> The "-n" option only works on startup and cannot be used when Asterisk
> is already running (I tried and I get an error). We are using version
> 18.12.1. The output I want to
The "-n" option only works on startup and cannot be used when
Asterisk is already running (I tried and I get an error). We are using
version 18.12.1. The output I want to capture is:
asterisk -rx "queue show"
If I capture the output to a file or straight to the command line I
get
Have you tried adding “-n”?
Also, what version of asterisk are you using? newer versions only have
colorized output when your are connected to the console (-r) not for remote
commands (-rx)
On Wed, Aug 3, 2022 at 08:21 Carlos Chavez wrote:
> I usually like to have the colorized output
I usually like to have the colorized output when looking at
asterisk output but I need to get some info by running "asterisk -rx"
and get just plain text output so I can mail it. Right now I get ANSI
codes in the output. Is there a way to get plain text output for just
that script and