This should go to the developers, it could be great to have in the next
version.

Something like a filter flag that can be set on src, dst, extensions or
dialplan flags 

(Dialplan)
Exten -> s,1,SetFilter(incoming)
Exten -> s,n,Answer
Exten -> s,n,DoSomething
 
(Console)
asterisk> filter incoming   (only show calls that have filter "incoming"
set in their extensions)
asterisk> filter src sip/6001 (Show anything from Sip/6001)
asterisk> filter dst zap/g1 (Show anything going out on zap/g1)

Would be nice.. 
It's hard to follow verbose 15 consoles when people are dialing in an
out every few seconds.

Chad



-----Original Message-----
From: Jim Van Meggelen [mailto:[EMAIL PROTECTED] 
Sent: March 30, 2007 11:31 AM
To: [email protected]
Cc: 'Clod Patry'
Subject: [on-asterisk] Filtering output on the console

Simple but handy:

If you are looking to filter console output on a busy system, you can
use grep

Let's say I want to see anything that involves an extension or peer
called
6001

asterisk -rvvvv | grep 6001

This will not allow you to interact with the console, but you'd just
have to open up another session that was not filtered to do your typing
in.

Not perfect, but simple, and it does something that would be very useful
on a busy system, which is to filter console output.

Any ideas on how to improve this?

Jim


--
Jim Van Meggelen
Core Telecom Innovations
[EMAIL PROTECTED]
www.coretel.ca
416-425-6111 x6001
877-CORETEL x6001 (Canada)
IAX2:[EMAIL PROTECTED]/6001
www.oreillynet.com/pub/au/2177

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.22/739 - Release Date:
29/03/2007
1:36 PM
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to