Grep help please


(Mvogel4949) #1

I have a queue that is calling numbers/extensions that are not a part of the queue in any way. If I want to search the system for what these might be how would I utilize grep to do that? For example, it is calling 8130 for no good reason. No FMFL or CF being used.


(Lorne Gaetz) #2

In it’s simplest form, it would be as simple as:

grep 8130 /var/log/asterisk/full

but that’s likely to yield more than is useful. If you can narrow it down to a specific inbound call, then you can use the technique here to isolate the call to pastebin:
https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII


(system) closed #3

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.