This is an old revision of the document!


Call log

The call log lists SIP calls made through Internet Gate.

:!: Call logging is by default disabled. It can be enabled on the Log Configuration page, where you also can decide if you additionally want to collect call quality related metrics, send it to a syslog server, etc.

Typical entries

A SIP call will usually generate the following call records in the call log:

Ringing start for [sip:1234@domainx.com 111.111.111.111] -> [sip:5678@domainy 222.222.222.222]

1234@domainx.com is the calling parties SIP address, 111.111.111.111 is the calling clients IP address. 5678@domainy.com is the called parties SIP address, 222.222.222.222 is the called clients IP address. There is only one Ringing start record for a call, even if this call rings several parallel because of call forking.

Start of session M2Qyg67bYjIm: [sip:1234@domainx.com 111.111.111.111] -> [sip:5678@domainy 222.222.222.222]

The Start of session record is created when the call is answered by the called party. M2Qyg67bYjIm is a unique session ID for this call. It is composed of the beginning of the incoming call ID, of the end of the outgoing call ID, and of a hash value of the remaining part of the involved call IDs. The incoming and outgoing call ID will usually be the same, except for special scenarios, e.g. when a back-to-back SIP user agent is involved.

End of session M2Qyg67bYjIm: [sip:1234@domainx.com 111.111.111.111] -> [sip:5678@domainy 222.222.222.222]
Duration: 2 sec, Terminate reason: User Request

The End of session record is created when the call is finished. Terminate reason User Request is the regular case, Timeout is an exceptional case if one party of the call does not respond any more.

> Bytes: 11200, Pkts: 56, missing: 0 (max 0), reo.: 0, Jitter avg: 0 ms (max: 7 ms), last PT: 0 (PCMU), CN: no, MOS: 4.40
< Bytes: 13400, Pkts: 67, missing: 0 (max 0), reo.: 0, Jitter avg: 0 ms (max: 0 ms), last PT: 0 (PCMU), CN: no, MOS: 4.40

These two records follow immediately after the End of session record in the log. They are only generated when “including Media statistics” is set up on the Log Configuration page for call logging. They contain results of the RTP packet monitoring which is performed for the RTP streams belonging to this call. The first line contains information about the RTP packet stream from the calling to the called party, the second line contains information about the opposite direction.

  • Bytes is the number of bytes (including IP header);
  • Pkts. is the number of RTP packets.
  • missing tells the number of missing (lost) packets.
  • max is the number of continuously missing packets, so e.g. a value of 3 means that e.g. the packets with sequence numbers 3001,3002 and 3003 were missing.
  • reo is the number of reordered packets, so packets which were not received in the normal order.
  • Jitter avg. is the average Jitter value in milliseconds over the total call duration.
  • max is the maximum jitter value during the call.
  • Last PT is the last packet's payload type value from its RTP header.
  • PCMU here tells that the used codec in the last RTP packet was PCMU in this example.
  • CN is either yes or no and tells if Comfort Noise packets (used for silence compression) were present during the call.
  • MOS means “Mean opinion score”; it is a value between 1 and 5 and gives an estimation how listeners might experience this call, with 1 being “bad” and 5 being “excellent”. This value is calculated mostly based on the used codec, and on the packet loss distribution during the call. Note that this value does not take into account possible packet loss or other problems happening to the packet stream after it has traversed this box.

Severity levels

The ringing start message has severity level debug.
The start and end of session messages have severity levels notice.
The media statistics messages have severity levels info.
There might also be error messages logged if any errors occur.

By selecting a suitable level for filtering on e.g. a syslog server you can select the level of information you save.

web_gui/call_log_page.1289988002.txt.gz · Last modified: 2010/11/17 11:00 by tibor
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0