Hey all,
During my reading of the forum and from my own experience of needing to stare endlessly at the log files I thought it would be handy to have a simple page that remembers that nice line I saw @dicko give out not so long ago. grep “\[23246\]”.
I forget things before I take the next breath so a fixed page to do the work is handy for me at least.
I have dropped the PHP code on the same page as the CDR query stuff.
http://hiddenvision.co.uk/fpbx
Grrr. clicking on the link opens in this page so remember that.
Open link in a new tab or window to keep on the forum page
No instructions but simply make a folder off the main html folder on the pbx and drop the php into it. rename as required and hit the page. It does not have to live on the PBX as long as you have access to the logs remotely. For the sake of clarity, look for the number in brackets [23246] in the Freepbx/asterisk logs and use that as a search. But then you would know that if you read the php.
I only wrote it half an hour ago from snippets round the globe so I am sure it could be improved.
Hey perhaps something similar could be introduced in the Standard log viewer.
Anyhow, you MAY find it handy if you are debugging call flows.
please do not judge me on my code writing,
I write stuff to express a concept not to save the world.
Hv.