Jim Van Meggelen wrote:
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.

Any ideas on how to improve this?

We should get a fix for the long-standing gross bug that causes "asterisk -r" to go insane when it reads end of file.

Then you could do
        echo sip show peers | asterisk -r | grep -v OK

Ian

Reply via email to