similar to: CLI color prompt

Displaying 20 results from an estimated 2000 matches similar to: "CLI color prompt"

2020 May 31
4
CLI color prompt
> 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]: " > > (I got 31 from reading the
2020 May 31
3
CLI color prompt
> 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 Asterisk and > because of your question, I now have colored
2020 May 31
2
CLI color prompt
> 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 this a fictional functionality that actually does not work ?
2020 May 31
0
CLI color prompt
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: *jeff at stratustalk.com* <mailto:jeff at stratustalk.com> Website: *https://www.stratustalk.com* Address: *One
2020 May 31
0
CLI color prompt
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 doesn't work.  Perhaps you can tell us what your terminal emulator is, what you are running it
2020 May 31
2
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.  What are you using for a > terminal emulator? my terminal supports colors, I am using colored prompt in bash/zsh already. I made a screenshot: https://paste.pics/d1eb46bac0a8d06d645230225191615e
2019 Oct 23
2
issues with Asterisk CLI
Hello, I have Asterisk 16.2 on Debian. In the Asterisk CLI, I would like to change 2 things: 1) change the keybindings for commandline editing (what in bash is called "readline" editing of the command line) The CLI is missing some very useful keybindings, and even worse, has misconfigured others, For instance, "ctrl"+"w" should delete the last word backward. But
2020 May 31
0
CLI color prompt
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 ASTERISK_PROMPT UNIX environment variable that you set from the Unix shell before
2020 Jun 07
3
CDR mysql: timeout when remote database unavailable
> On 2020-06-06 10:38, Antony Stone wrote: > On Saturday 06 June 2020 at 09:18:11, Fourhundred Thecat wrote: > >> In a situation when I start asterisk, and the remote database is >> unreachable, asterisk waits for several minutes before it actually >> starts (before it loads sip module, etc). >> >> And when database is unreachable during operation, when call
2020 May 31
0
CLI color prompt
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", "vt100", "crt" or
2020 Jun 06
2
CDR mysql: timeout when remote database unavailable
Hello, I am using CDR mysql to log to remote server: in modules.conf, I preload the modules: [modules] preload => cdr_mysql.so preload => app_mysql.so and in cdr_mysql.conf, I have all the details defined (hostname, dbname, table, password, user, port). In a situation when I start asterisk, and the remote database in unreachable, asterisk waits for several minutes before it actually
2020 Jun 02
2
problem with logger: syslog vs. file
In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>, Fourhundred Thecat <400thecat at gmx.ch> wrote: > > On 2019-11-16 03:29, Fourhundred Thecat wrote: > > Hello, > > > > I am logging directly into file and also to syslog. > > Here is snippet from my /etc/asterisk/logger.conf: > > > > messages => notice,warning,error,verbose
2020 May 31
0
CLI color prompt
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 the terminal prompt: export ASTERISK_PROMPT="%C31[%H]: " Typing at the same
2019 Oct 30
3
email notification on missed call
Hello, what is the best way to implement email notification on missed call ? So far, I have been using a solution that I hacked together. I create a hangup-handler, inside which I check for "${DIALSTATUS}" and use System(): System(/bin/echo ... | /usr/bin/mail ....) I have pasted the block here, for better formating: https://pastebin.com/Sf8raPD6 My question is: Do I have to
2019 Nov 16
2
problem with logger
Hello, I am logging directly into file and also to syslog. Here is snippet from my /etc/asterisk/logger.conf: messages => notice,warning,error,verbose syslog.local0 => notice,warning,error,verbose But the logs look different: VERBOSE[7609][C-00000013] pbx.c: NOTICE[3042] chan_sip.c: Peer '1111' is now UNREACHABLE! vs. VERBOSE[7609][C-00000013]: pbx.c:2925 in
2019 Oct 12
3
setting up ODBC for cdr logging into MariaDB
Hello, I am trying to set up cdr logging into MariaDB through ODBC. I have installed unixodbc unixodbc-dev and now I am struggling with configuring /etc/odbcinst.ini All the examples online use non-existent libraries, ie: [MySQL] Description = MySQL ODBC MyODBC Driver Driver = /usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so FileUsage = 1 I have
2023 Apr 14
2
couldn't allocate a port for RTP instance
Hello, my logs are flooded with: WARNING: The 'stasis/m:cdr:aggregator-00000005' task processor queue reached 5000 scheduled tasks again. and then, when call came, I got this: ERROR: Oh dear... we couldn't allocate a port for RTP instance '0x6e1e680fd670' WARNING: Unable to cancel schedule ID 0. This is probably a bug (res_rtp_asterisk.c: dtls_srtp_stop_timeout_timer,
2020 Jun 15
4
Voice "broken" during calls
Hi, We are working on a product to analyze pcap files of VoIP calls. So far it does a reasonable job of analyzing the frequency distribution of packets in both directions, pointing out which direction packet loss / bad jitter occurs.  If you can trap the traffic on the outside and the inside of your Banana Pi and send me the pcap files, I would be happy to run it through our analyzer as
2020 Jun 15
3
Voice "broken" during calls
Am 15.06.2020 um 21:50 schrieb Luca Bertoncello: > What do you mean now? If I can use the full available band or if I can > download exactly 50Mbs? > The answer to the first question is: YES! That's why I use a traffic > shaper... ;) > The answer to the second question is: NO. I made a speedtest right now > and I get only ~18Mbps download. And some other information, too.
2023 Aug 04
2
print only first level directory name when copying files
Hello, I am copying /mnt/foo to /mnt/bar/ rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ /mnt/foo contains deep directory structure, ie: /mnt/foo/aaa/ /mnt/foo/aaa/somestuff/ /mnt/foo/aaa/somestuff/file1 /mnt/foo/bbb/ /mnt/foo/bbb/someotherstuff/ /mnt/foo/bbb/someotherstuff/file2 I am not interested in details which individual files were copied, just the main directory.