Body

This section describes the syntax used for the SIP body in the Message Manipulations table.

The syntax can also be used to manipulate (add, modify, or remove) any header preceding a body part in a multipart body of a SIP message. Up to three headers can be manipulated per body part.

Syntax:

Manipulation of the body itself:
body.<body name>
Manipulation of a specific header preceding the body part:
body.<body part name - from Content-Type header>.header.<header to manipulate>

When manipulating the Content-Type and Content-Disposition headers, the '.header' key may be omitted from the syntax.

The <body name> specifies the body name as it appears in the received message. For example, 'application/sdp' (case-insensitive), or 'application/pidf+xml' as shown below for a multipart body:

…
--boundary_ac186cboundary_ac166e
Content-Type: application/pidf+xml
Content-Disposition: render;handling=required
Content-ID: < example@example.edu >
<?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:geopriv10"><location-info><Point srsName="urn:ogc:def:zzz:EPSG::4326" xmlns="http://www.opengis.net /gml"><pos>26.07686 -80.25351</pos></Point><civicAddress xmlns="urn:ietf:params:xml:ns:pidf:geopriv5:civicAddr"><country>US</country><A1>FL</A1><A2></A2><A3>SUE</A3><PRD></PRD><RD>NW 4TH ST</RD><STS></STS><POD></POD><HNO>8000</HNO><HNS></HNS><LOC></LOC><NAM>EXAMPLE UNIVERSITY</NAM><PC>33328</PC><ELIN>Teams_NSUSOC5</ELIN></civicAddress></location-info><usage-rules><retransmission-allowed xmlns="urn:ietf:params:xml:ns:pidf:geopriv5:basicPolicy">true</retransmission-allowed></usage-rules><method>LIS</method></geopriv></status></tuple></presence>
--