ltm rule command SDP mediaΒΆ
iRule(1) BIG-IP TMSH Manual iRule(1) SDP::media Get or set SDP media information. SYNOPSIS SDP::media (count | MEDIA_INDEX)? SDP::media (type | transport) (MEDIA_INDEX)? SDP::media attr (MEDIA_INDEX (ATTR_INDEX)?)? SDP::media port (MEDIA_INDEX (NEW_PORT)?)? SDP::media conn (MEDIA_INDEX (NEW_VALUE)?)? DESCRIPTION This command allows you to get or set different aspects of the media information for your SDP connection. Syntax SDP::media attr* Get SDP attribute attr-index of media media-index e.g. SDP::media attr 0 1 will get SDP attribute 1 of media 0 SDP::media count * Return the number of medias SDP::media * Get SDP media at index media-index SDP::media type * Get SDP media type of media media-index SDP::media port * Get SDP media port of media media-index SDP::media port "new value" * Rewrite SDP media port of media media-index SDP::media transport * Get SDP media transport info of media media-index (e.g. RTP/AVP) SDP::media conn * Get SDP media connection info of media media-index if its available, else gets connection info of session. SDP::media conn "new value" * Rewrite SDP media connection info of media media-index RETURN VALUE VALID DURING EXAMPLES when SIP_REQUEST { log local0. "SDP media count: [SDP::media count]" log local0. "SDP media transport: [SDP::media transport 0]" log local0. "SDP media port: [SDP::media port 0]" log local0. "SDP media connection: [SDP::media conn 0]" } HINTS SEE ALSO CHANGE LOG @BIGIP-9.2.0 --First introduced the command. BIG-IP 2017-01-31 iRule(1)