Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

SIP_HEADER()

Synopsis

Gets the specified SIP header from an incoming INVITE message.

Description

Since there are several headers (such as Via) which can occur multiple times, SIP_HEADER takes an optional second argument to specify which header with that name to retrieve. Headers start at offset 1.

Please observe that contents of the SDP (an attachment to the SIP request) can't be accessed with this function.

Syntax

No Format
SIP_HEADER(name,number)
Arguments
  • name
  • number - If not specified, defaults to 1.

See Also

Import Version

This documentation was imported from Asterisk Version Unknown