SIP User's Manual
528
Document #: LTRT-12804
Mediant 800 MSBG
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
8.4.9.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 as 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,
"''", 0;
Result:
The colour header is removed.
Содержание Mediant 800 MSBG
Страница 2: ......
Страница 366: ...SIP User s Manual 366 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 372: ...SIP User s Manual 372 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 390: ...SIP User s Manual 390 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 404: ...SIP User s Manual 404 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 616: ...SIP User s Manual 616 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 636: ...SIP User s Manual 636 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 652: ...SIP User s Manual 652 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 886: ...SIP User s Manual 886 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Страница 890: ...User s Manual Ver 6 2 www audiocodes com ...