SIP::route

Description

This command gets SIP route header information, either at the index (a numeric zero-based index) or by the keyword “top”. The “top” keyword will acess the first element as opposed to the first line of the route headers.

Syntax

SIP::route <index>
SIP::route top

Examples

when SIP_REQUEST {
  log local0. [SIP::route top]
}