Skip to main content

Module message

Module message 

Source
Expand description

SIP message text extraction utilities.

Convenience functions for extracting values from raw SIP message text:

  • extract_header — pull header values with case-insensitive matching, header folding (RFC 3261 §7.3.1), and compact forms (RFC 3261 §7.3.3)
  • extract_request_uri — pull the Request-URI from the request line (RFC 3261 §7.1)

Gated behind the message feature (enabled by default).

Functions§

extract_header
Extract a header value from a raw SIP message.
extract_request_uri
Extract the Request-URI from a SIP request message.