ltm rule command SIP via
iRule(1) BIG-IP TMSH Manual iRule(1)
SIP::via
Gets SIP via header information.
SYNOPSIS
SIP::via (proto | sent_by | received | branch | maddr | ttl)? (INDEX)?
DESCRIPTION
This set of commands allows you to get information in the SIP via
header.
Syntax
SIP::via
* Get SIP header "via" at index
SIP::via proto
* Get protocol part of SIP via at index, if index is not provided,
the first one is returned.
SIP::via sent_by
* Get sent_by part of SIP via at index, if index is not provided, the
first one is returned.
SIP::via received
* Get attribute received of SIP via at index, if index is not
provided, the first one is returned.
SIP::via branch
* Get attribute branch of SIP via at index, if index is not provided,
the first one is returned.
SIP::via maddr
* Get attribute maddr of SIP via at index, if index is not provided,
the first one is returned.
SIP::via ttl
* Get attribute ttl of SIP via at index, if index is not provided,
the first one is returned.
RETURN VALUE
VALID DURING
EXAMPLES
when SIP_RESPONSE {
log local0. [SIP::via 0]
SIP::header remove Via 0
SIP::response rewrite 123 "no xxx"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.2.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)