That sounds good, but it will increase the degree of complexity, and I think will go beyond my skill (or my time...!)<br>But I'll still made a patch with the simple feature above (with the un-highlight option)<br><br><div class="gmail_quote">
2010/8/9 Steve Edwards <span dir="ltr"><<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Un-top-posting...<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
On Friday 06 August 2010 09:29:19 Gabriel Ortiz Lour wrote:<br>
><br></div><div class="im">
> I've just madded a simple new feature to highlight a channel name on > the CLI to help debugging. Works like this<br>
><br>
> asterisk-1_6*CLI> core highlight 6699<br>
> Highlight of channel names matching pattern [6699] activated.<br>
><br>
> 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.<br>
><br>
> I have a ready patch (asterisk 1.6.2.10), where can I send it to to > apply on getting it merged?<br>
<br></div><div class="im">
2010/8/6 Tilghman Lesher <<a href="mailto:tlesher@digium.com" target="_blank">tlesher@digium.com</a>><br>
</div></blockquote>
<br><div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Be aware that new features need to be written against trunk, not a released<br>
version.<br>
</blockquote>
<br></div><div class="im">
On Mon, 9 Aug 2010, Gabriel Ortiz Lour wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK. Thanks for the comments, I will do the patch against trunk, with the sugested modifications<br>
</blockquote>
<br></div>
) Is there a command to "un-highlight" a matching channel?<br>
<br>
) How about companion dialplan applications so a channel can highlight or un-highlight itself. For example:<br>
<br>
exten = *,n,execif($["${ANI}" = "5555553867"],highlight-me(red))<br><font color="#888888">
<br>
-- <br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>