Tired of looking for calls in the logs using grep by extension, by time, by callid ...
This script is make it for find calls fast, clear and show colored logs.
Requires installing "bat" to show colored logs, bat is a cat with wings: https://github.com/sharkdp/bat
For use it, simply run script.sh extension (example: sh script.sh 1234)
And script will find calls make/receive by this extension in last 24 hours and show this calls in a menu with necessary information then select required call and script will show log of call
Sorry is not in english but used only few/common words used in voip logs: TempsTotal-> total time, TempsParlat-> speak time, origen -> source, desti -> destination, calleridnom -> calleridname, data -> date, selecciona ID de la trucada a revisar als logs -> select ID of call to show logs.
This bash script is made by a beginner ;), of course it can be improved... use at your own responsability