Hello community,
I have come across a few calls where a customer reports a call “dropping”. In the log files, the log file reports the call ended and hung up the call. The question I am brought is “who hung up on who?”, and unfortunately the log files do not really tell that much detail without a pcap trace, and of course, the trace was not running at the time when the call “dropped”.
This brought me to a question / idea if it works…
The idea is to run pcapsipdump -i eth0 -d /var/pcaptrace at system boot. Pcapsipdump records a separate pcap trace for every leg of the call, from the PBX to the trunk and from the extension to the PBX. My thought is that /var/pcaptrace is a tmpfs mount with a 2gb limited size and then somehow (haven’t figured out yet) the system would remove the older pcap trace files to make space for the newer ones… but how would this be possible?
Does something similar to this already exist? I was hoping there would be a module or something for Asterisk that records all calls as separate trace files and keeps only xMB amount and removes older files as needed…
Cheers,
Jon