Version 6.4 811 March 2012
SIP User's Manual C. SIP Message Manipulation Syntax
Keyword Sub Types Attributes
Port Integer Read Only
TransportType Enum TransportType (see
'TransportType' on page
824)
Read Only
Below is a header manipulation example:
Rule:
Check the transport type in the first Via header and if it's set to UDP, then modify the
From header's URL:
MessageManipulations 0 = 1, Invite.request,
header.VIA.0.transporttype == '0', header.from.url, 2,
'sip:3200@110.18.5.41;tusunami=0', 0;
Result:
From: <sip:3200@110.18.5.41;user=phone;tusunami=0>;tag=1c7874
C.2.35 Warning
An example of the header is shown below:
Warning: 307 isi.edu "Session parameter 'foo' not understood"
Warning: 301 isi.edu "Incompatible network address type 'E.164'"
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes Yes 1
Keyword Sub Types Attributes
N/A N/A N/A
Below is a header manipulation example:
Rule:
Add a Warning header to the message:
MessageManipulations 0 = 1, Invite.response.180,
,header.warning, 0, 'Incompatible 380', 0;
Result:
Warning: Incompatible 380