Body Examples
The following table provides examples of the syntax for indicating the SIP message body.
Message Body Syntax Examples
Subject |
Description |
---|---|
body.application/x-nt-mcdn-frag-hex |
Adds or removes this 'unknown' body type. |
body.sdp |
Defines the SDP in the body. |
body.application/pidf+xml.header.Content-ID |
Adds, modifies or removes the Content-ID header. |
The following table provides configuration examples of manipulation rules for the message body.
Message Body Manipulation Rules Examples
Message Type |
Condition |
Action |
Action Type |
Action |
---|---|---|---|---|
invite |
body.sdp !exists |
body.application/ |
Add |
'a=0981233\\b=12rew wer\\note=newlinecharacter' |
invite |
header.request-uri.url.user contains '+1811' AND Header.Priority !exists AND Header.from.URL.User contains '+1732' |
body.application/pidf+xml |
Add |
'<?xml version=\"1.0\" encoding=\"UTF-8\"?><presence xmlns=\"urn:ietf:params:xml:ns:pidf\" entity=\"example@example.edu\"><tuple id=\"0\"><status><geopriv xmlns=\"urn:ietf:params:xml:ns:pidf:geopriv5\"><location-info>' |
invite |
body.application/pidf+xml exists |
body.application/pidf+xml.Content-Disposition |
Modify |
'render;handling=required' |
invite |
body.application/pidf+xml exists |
body.application/pidf+xml.header.Content-ID |
Add |
'<example@example.edu>' |
invite.request |
|
body.mwi |
Add |
'Messages-Waiting: yes\\Message-Account: sip:alice@vmail.example.com\\Voice-Message: 2/8 (0/2)' |
any |
|
body.mwi.summary.newmsgs |
Modify |
'23' |
invite |
|
body.mwi.summary.oldmsgs |
Modify |
'18' |
invite |
|
body.mwi.summary.newurgentmsgs |
Modify |
'12' |
any |
|
body.mwi.summary.oldurgentmsgs |
Modify |
'67' |
invite |
|
body.mwi.pending |
Modify |
'8' |
invite |
|
body.mwi.messagewaiting |
Modify |
'2' |