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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Sep 5 01:22:55 CDT 2007


On Tue, Sep 04, 2007 at 10:46:59PM -0700, 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 alternative interface?

conntect to the asterisk.ctl socket or to the manager TCP socket and 
provide your custom user interface. I think you're mixing a user 
interface and a managing interface here.

For instance, translate "dial", "flash", etc. to "console *".

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list