Custom SIP BYE headers format B
From TBwiki
(Difference between revisions)
(Add DISPLAYTITLE) |
|||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:Editing Custom SIP BYE headers format}} | ||
The custom SIP BYE headers field is formatted similarly to [[Text_Call_Detail_Records|Text CDR records]]. For example, the following content: | The custom SIP BYE headers field is formatted similarly to [[Text_Call_Detail_Records|Text CDR records]]. For example, the following content: | ||
Latest revision as of 12:47, 3 February 2016
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.
For P-RTP-Stat SIP BYE headers, it is recommended to use the following content in release 2.9 and later:
P-RTP-Stat: PS=@{Stat:Rtp:Tx:IPPackets}, OS=@{Stat:Rtp:Tx:IPBytes}, PR=@{Stat:Rtp:Rx:IPPackets}, OR=@{Stat:Rtp:Rx:IPBytes}, PL=@{Stat:Rtp:Rx:Error:LostPackets}, JI=@{Stat:Rtcp:Jitter}, LA=@{Stat:Rtcp:RoundTripDelay}, DU=@{CallDuration}
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 |