Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

SIP_HEADER()

Synopsis

Gets the specified SIP header.

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.

Syntax

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

See Also

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r293887.

  • No labels