ltm rule command SDP field
iRule(1) BIG-IP TMSH Manual iRule(1)
SDP::field
Gets or Sets the value in a given SDP field.
SYNOPSIS
SDP::field FIELD_NAME ((INDEX) (NEW_VALUE)?)?
DESCRIPTION
This command will get or set the value of a specific SDP field
Syntax
SDP::field field-name
* Get SDP field "field-name" at position index, if index is not
present, the first field "field-name" will be returned if found
SDP::field field-name "new value"
* Sets SDP field "field-name" at position index with user defined
"new value"
RETURN VALUE
VALID DURING
EXAMPLES
when SIP_REQUEST {
log local0. "SDP field b: [SDP::field b]"
SDP::field c 0 "IN IP4 10.10.1.150"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.2.0 --First introduced the command. @BIGIP-13.1.0 --Add Set operation was added to replace a
particular field value.
BIG-IP 2020-06-23 iRule(1)