SIP::record-route

Description

This command gets SIP record-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 record-route headers.

Syntax

SIP::record-route <index>
SIP::record-route top

Examples

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