Difference between revisions of "Call Info"
Line 34: | Line 34: | ||
* '''Only SIP calls can be retrieved'''<br> | * '''Only SIP calls can be retrieved'''<br> | ||
* '''Only UDP protocol is supported''' | * '''Only UDP protocol is supported''' | ||
* Only calls sent/received to/from Providers are captured | |||
* Sometimes not all calls are captured due to hardware limitations | * Sometimes not all calls are captured due to hardware limitations | ||
Line 40: | Line 41: | ||
<br><br> | <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 08:06, 16 June 2016
This window gives detailed info about the call.
It can be accessed from Last Calls page by clicking on the icon near the call:
A new window opens with detailed call info:
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.
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
- Only calls sent/received to/from Providers are captured
- Sometimes not all calls are captured due to hardware limitations
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