PDD tracking

Hello All,

What is the easiest way for me to search the log files to find information about PDD?
I’m familiar with grep so thats simple enough, but not sure what part of the call string I’m looking for.


you can find the calls started :-

cat /var/log/asterisk/full|grep " Called"

you will need to extract the number in brackets VERBOSE[nnnnn]

cat /var/log/asterisk/full|grep “nnnnn”|grep -E " Called | answered |FROM" and substract the last line;s first field in [] and the first lines first field in []

Be careful the call nnnnn might not be unique, and the lines with called will not be either if a rg or follow-me is involved

Sounds, like it may have a few hiccups, but at least we can try to grab those that are close together time stamp wise.


You can also subtract billtime from calltime in the cdr record. But maybe not so acurately if IVR’s or are involved so the call will have multiple “legs”