Skip to main content

sipfrag

Function sipfrag 

Source
pub fn sipfrag(status: u16, reason: &str) -> String
Expand description

The body of a NOTIFY about a transfer: a status line and nothing else.

RFC 3515 §2.4.5 asks for message/sipfrag (RFC 3420) — a fragment of a SIP message. Only the status line is required, and only the status line is useful, so that is what sipx sends.