Actions

Custom SIP BYE headers format A

Revision as of 17:03, 27 November 2015 by Atremblay (talk | contribs) (Created page with "The custom SIP BYE headers field is formatted similarly to Text CDR records. For example, the following content: X-Test: This is a test. P-RTP-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The custom SIP BYE headers field is formatted similarly to Text CDR records. For example, the following content:

X-Test: This is a test.
P-RTP-Stat: PL=@{Stat:Rtp:Rx:Error:LostPackets}, DU=@{CallDuration}

Would put the following SIP headers in the BYE packet:

X-Test: This is a test.
P-RTP-Stat: PL=0, DU=12

For a call which lasted 12 seconds and had no packet loss.

The following link provides the statistics format: Call statistics format.

Here is the list of fields specific to SIP BYE headers:

Field name Description
@{CallDuration} Call duration, in seconds
@{CallDurationMs} Call duration, in milliseconds