Difference between revisions of "Call Info"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 39: Line 39:
[[File:mor_pcap.png]]
[[File:mor_pcap.png]]


<br><br>
== QUESTION: How pcap files are managed to not fill HDD? ==
== QUESTION: How pcap files are managed to not fill HDD? ==



Revision as of 15:56, 22 February 2016

This window gives detailed info about the call.

It can be accessed from Last Calls page by clicking on the icon Icon callinfo.png near the call:

Callinfo1.png


A new window opens with detailed call info:

Call info details 4.png



Call Log

This feature is useful for troubleshooting Calls. It shows Asterisk Log for specific Call and highlights errors and warnings.
Note: Asterisk logs are deleted after 14 days so old Calls may not have log available.
Mor call log 2.png

PCAP file/data

Background process records pcap files for every call. Later it is very easy to retrieve pcap file for exact call from Call Info page.

Press on the Download PCAP file button and if you have Wireshark installed - it will open the pcap file in the Wireshark.


NOTE: pcap file takes up to 10kb of data. By default it is reserved 1Gb of HDD space for pcap files. Approximately it is enough for 100.000 calls. Older files are deleted when space limit is reached. HDD space limit can be increased if necessary.


Limitations:

  • Only SIP calls can be retrieved
  • Only UDP protocol is supported
  • Sometimes not all calls are captured due to hardware limitations


Mor pcap.png



QUESTION: How pcap files are managed to not fill HDD?

Special script runs at set intervals to delete the oldest files. 1Gb HDD space is reserved by default for pcap files.




Implementation details

Pcap files are captured using pcapsipdump program and captured files are stored in /var/log/mor directory. Pcapsipdump process in ps output look like this:

 /usr/src/mor/x7/scripts/pcapsipdump -U -i em1 -d /var/log/mor/pcap -v 1 -B 256MiB -R none

See also