SIP User's Manual 812 Document #: LTRT-83310
Mediant 600 & Mediant 1000
C.2.36 Unknown Header
An Unknown header is a SIP header that is not included in this list of supported headers.
An example of the header is shown below:
MYEXP: scooby, doo, goo, foo
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes Yes 3
Keyword Sub Types Attributes
N/A N/A N/A
Below are header manipulation examples:
Example 1 Rule:
Add a custom header to all messages:
MessageManipulations 0 = 1, , , header.myExp, 0,
'scooby, doo, goo, foo', 0;
Result:
MYEXP: scooby, doo, goo, foo
Example 2 Rule:
Take the value from the Expires parameter in the Contact header, append 00
to the value and create a new myExp header:
MessageManipulations 0 = 1, any, , header.media, 0,
header.Session-Expires.time + 'ooo' + ';refresher=' +
header.Session-Expires.Refresher, 0;
Result:
MEDIA: 3600ooo;refresher=1
Example 3 Rule:
Create lists of Unknown headers:
MessageManipulations 1 = 1, Invite, , header.myExp.1,
0, 'scooby, doo, goo, foo1', 0;
MessageManipulations 2 = 1, Invite, , header.myExp.2,
0, 'scooby, doo, goo, foo2', 0;
Result:
MYEXP: scooby, doo, goo, foo1
MYEXP: scooby, doo, goo, foo2
Example 4 Rule:
Remove the SIP header 'colour' from INVITE messages:
MessageManipulations 1 = 1, Invite, , header.colour, 1,
Result:
The colour header is removed.