Difference between revisions of "Call Info"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 59: Line 59:
= See also =
= See also =
* [[SIP debug info]]
* [[SIP debug info]]
* [[Accountant_permissions]]

Revision as of 14:16, 7 February 2017

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.
Note: This functionality is only available for the System Admin and Accountats with a Call Tracing Usage Read permission (by enabling this permission Accountants are allowed to see financial and Provider information present in Call Log)
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.
Note: This functionality is only available for the System Admin and Accountats with a Call Tracing Usage Read permission (by enabling this permission Accountants are allowed to see Provider information present in PCAP files)


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 software 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