[asterisk-dev] Simple new feature
Steve Edwards
asterisk.org at sedwards.com
Mon Aug 9 19:39:27 CDT 2010
Un-top-posting...
> On Friday 06 August 2010 09:29:19 Gabriel Ortiz Lour wrote:
> >
> > I've just madded a simple new feature to highlight a channel name on
> > the CLI to help debugging. Works like this
> >
> > asterisk-1_6*CLI> core highlight 6699
> > Highlight of channel names matching pattern [6699] activated.
> >
> > Issuing the command "" will cause that every line printed on the CLI
> > with channel names containing the "6699" string will be highlighted on
> > COLOR_BRGREEN, like the debugging color.
> >
> > I have a ready patch (asterisk 1.6.2.10), where can I send it to to
> > apply on getting it merged?
>
> 2010/8/6 Tilghman Lesher <tlesher at digium.com>
> Be aware that new features need to be written against trunk, not a released
> version.
On Mon, 9 Aug 2010, Gabriel Ortiz Lour wrote:
> OK. Thanks for the comments, I will do the patch against trunk, with the
> sugested modifications
) Is there a command to "un-highlight" a matching channel?
) How about companion dialplan applications so a channel can highlight or
un-highlight itself. For example:
exten = *,n,execif($["${ANI}" = "5555553867"],highlight-me(red))
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-dev
mailing list