[asterisk-dev] [asterisk-commits] russell: branch russell/chan_console r81490 - /team/russell/chan_console/chan...

Michiel van Baak michiel at vanbaak.info
Wed Sep 5 03:16:02 CDT 2007


On 22:46, Tue 04 Sep 07, Luigi Rizzo wrote:
> On Wed, Sep 05, 2007 at 03:52:56AM -0000, SVN commits to the Asterisk project wrote:
> > Author: russell
> > Date: Tue Sep  4 22:52:56 2007
> > New Revision: 81490
> > 
> > URL: http://svn.digium.com/view/asterisk?view=rev&rev=81490
> > Log:
> > Add a "console flash" CLI command, knocking another line off of the TODO list
> 
> one thing here - if someone (like me, sometimes) is using the cnosole
> as a phone, it is very unconvenient having to dial -er, type- the
> extra keyword before each command; even with history editing supoprt,
> it's a lot of keypresses.
> I wonder if someone has ideas on the better way to improve this.
> Ideally i would like to enter in 'character mode' so you can issue
> commands (or play digits) typing a single character. But i am not
> sure if this operating mode can be supported by the cli routines,
> probably not.
> The alternative would be to write a small frontend that connects to
> asterisk through the manager interface and issues console commands ?
> 
> suggestions ?

An ncurses interface that connects to the AMI to do all
this is the best way I think.

-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-dev mailing list