similar to: asterisk prompt

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

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
2015 Jan 25
1
customizing Asterisk CLI
Hello, when I am in the Asterisk CLI, I can exit with 'exit' or 'quit'. Ctrl+d has no effect. Is there any way to "bind" Ctrl+d to exit/quit ? Also, when I am in asterisk CLI, I can use command history and readline functions such as CTRL+r to search. But not all functions are available. For example, the alternate mappings for "page up" and "page
2007 Aug 23
3
Asterisk Prompt
Hi List; I read the following sentence: "The CLI prompt is set with the ASTERISK_PROMPT UNIX environment variable" In the following link: http://www.voip-info.org/wiki/index.php page=Asterisk+CLI+prompt The question is: what is the ASTERISK_PROMPT UNIX environment variable and where I can access it to change it? Also where I can find information about it? Regards Bilal Ghayad
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 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
2004 Oct 05
0
Asterisk CLI Prompt : Small hack
Just incase anyone is interested, I got tired of not having a newline command available with the cli_prompt. So me and a friend made this uber-quick hack to get it working. Flames/comments/suggestions: Matt or Matt flewid@flewid.ca sideshow@terahertz.net now you can use %n in your prompts to give a newline. A prompt example is below.
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
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
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 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
5
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+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]:
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
2003 Sep 18
1
2.2.8a newbie path problem
Hi I'm presently installing 2.2.8a on Mandrake 9.1 I'm a newbie to Linux as well as Samba, so it's been fun... When I first installed Linux I installed Samba from the discs (2.2.7a), but on reading up on the subject it became clear that I should give installing the source a go. My problem is this - I don't think I have rerouted all of the paths to usr/local/samba from what
2010 Feb 19
3
CentOS and Bash History
Hi, I was wondering if bash or inputrc has changed form CentOS v4 to CentOS v5? Reason I ask is at the bash cli I can type, for example 'su' and then with the up and down arrows I can scroll through my history and will only see the commands that begin with 'su'. In CentOS 5 this isn't the case. I have added some code to my inputrc file to make this work in CentOS 4 as
2014 Jun 11
0
[PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
Does ctrl+c work? My experience with (non klibc) init=/bin/bash is that getting ctrl+c to work requires some jumping through hoops, because running as pid 1 doesn't really work. If I recall correctly you have to call setsid, and open a tty as a controlling tty, you can't call setsid as pid 1. The hack that I got to work (for reference, I'm using this for raw kernel testing
2001 May 17
0
Patch: Set SSH_AUTHKEY to key id used to authenticate.
Attached is a patch which sets the SSH_AUTHKEY environment variable to be the remaining data at the end of an SSH key which is used for authentication. The motivation behind this is that there are time in which it's useful to know who is on the other end of the connection. For example, if I log in as root on a box, I'd like to be able to configure vi-specific settings, while another user
2005 Jan 27
2
CISCO 7905 Phone Weirdness
It seems on my phone, which is hooked up to a large pbx network powered by an asterisk server, that it will randomly start ringing with a callerid# of 2013 which is its username for that phone. I have looked and been watching on the asterisk command line with the -vvvvvvr switch and nothing has been seen that indicates a reason for this random ringing. This leads me to think that this trouble
2007 Feb 05
1
How to access environment variable?
How can I access an environmental variable in Asterisk 1.2.5? It should be possible according to: http://www.voip-info.org/wiki/view/Asterisk+variables which says: Environment Variables You may access unix environment variables using the syntax: ${ENV(foo)} ${ENV(ASTERISK_PROMPT)}: the current Asterisk CLI prompt. ${ENV(RECORDED_FILE)}: the filename of the last file saved by the Record
2006 Mar 13
4
Trouble Using AR Object based on a Piggyback Query?
Hi, I''m new to Rails and Ruby and can''t access methods/columns from an ActiveRecord object that is a "piggy-back" row as described by David here: http://www.loudthinking.com/arc/000235.html Via Console I can create the piggyback object but reading attributes gives "TypeError: cannot convert String into Integer" (this is in Console and the browser).