Asterisk CLI grep command

Is there any way to grep any value from asterisk CLI?

1 Like

Not inside the cli, but you can enable the full log force tail and grep it

2 Likes

Can you please share me the command?

Assuming you’ve enabled the full log and you are in your home directory:

1 Like

Thanks. I’ve enabled full log form “logger.conf” file.

full => notice,warning,error,debug,verbose,dtmf,fax

Here I’m not getting the full log to till hangup. Any help?

Told you tail not cat, tail -f show every single new line added to the log file.

1 Like

First I have tailed the log. Later I just print the log by cat. Thanks for helping me out. I got the process at-least. :slight_smile: