Asterisk CLI grep command


#1

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


#2

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


#3

Can you please share me the command?


#4

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


#5

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?


#6

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


#7

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: