Call Info

From Kolmisoft Wiki

Jump to: navigation, search

This window gives detailed info about the call.

Contents


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

Image:callinfo1.png


A new window opens with detailed call info:

Image:call_info_details_4.png



[edit] 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)
Image:mor_call_log_2.png

[edit] 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)


[edit] 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


File:mor_pcap.png



[edit] 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.




[edit] 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



[edit] See also

Personal tools

Try MOR

Try M2