SIP::payload¶
Description¶
This command supports the return, replace, insert, and/or deletion of
SIP payload.
Syntax¶
SIP::payload
SIP::payload [[offset] <size>]
SIP::payload length
SIP::payload replace offset length payload
SIP::payload insert offset payload
SIP::payload delete offset length
SIP::payload [[offset] <size>]¶
- Returns the specified SIP payload collected and optionally at a specific offset
SIP::payload replace <offset> <length> <data>¶
- Replaces the existing data with specified data of specified length at the specified offset
SIP::payload delete <offset> <length>¶
- Deletes the payload of size length beginning at specified offset
Examples¶
when SIP_REQUEST {
log local0. "unmodified request [SIP::payload]"
}
when SIP_REQUEST_SEND {
log local0. "modified request [SIP::payload]"
}