SIP (sip)
- Layer: Application and control
- Header: variable length
- Notes: MACsec / GTPv2-C / Diameter / SIP / RTP (P2)
Reached from
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
start_line | bytes — up to the terminator 0d 0a (appended when building) | "OPTIONS sip:bob@example.com SIP/2.0" | Start line: a request line (method, Request-URI, SIP/2.0) or a status line (SIP/2.0, code, reason). The CRLF is added automatically. | |
headers | list<bytes> — up to the terminator 0d 0a (appended when building) | 9 items | Header lines (Name: value), one per element; the CRLFs and the empty line after them are added automatically. Content-Length is Manual. | |
body | bytes — rest of the PDU | "" | Message body (an SDP offer / answer, …). |
Sample templates
- sip-invite —
templates/protocols/voip/sip-invite.wpg.yaml - sip-register —
templates/protocols/voip/sip-register.wpg.yaml