Filtering Asterisk CLI

If I had a key word, maybe like a telephone number (1234567). When I engage the Asterisk CLI can I filter on that keyword so I only see messages related to that?

There is no built-in filtering like that for the Asterisk logging in the CLI, it would need to be done elsewhere such as by using “grep” on the log files.


On the Linux shell you could do

asterisk -rvvvvvvvvvvvvvvvv | grep 1234567

1 Like