Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SIP (sip)

下位レイヤからの到達

下位レイヤ判別フィールド値
tcpdst_port / src_port5060 (0x13c4)
udpdst_port / src_port5060 (0x13c4)

フィールド

フィールド型既定値Auto説明
start_linebytes — 終端 0d 0a まで (組み立て時に付加)"OPTIONS sip:bob@example.com SIP/2.0"開始行: リクエスト行(メソッド、Request-URI、SIP/2.0)またはステータス行(SIP/2.0、コード、理由)。CRLF は自動で付く。
headerslist<bytes> — 終端 0d 0a まで (組み立て時に付加)9 要素ヘッダ行(名前: 値)を 1 要素 1 行で指定。各行の CRLF と直後の空行は自動で付く。Content-Length は手動。
bodybytes — PDU の残りすべて""メッセージ本文(SDP のオファー / アンサーなど)。

サンプルテンプレート

  • sip-invite — templates/protocols/voip/sip-invite.wpg.yaml
  • sip-register — templates/protocols/voip/sip-register.wpg.yaml