Version 6.2
521
February 2011
SIP User's Manual
8. IP Telephony Capabilities
Below are header manipulation examples:
Example 1
Rule:
Test the Request-URI transport type. If 1 (TCP), then modify the URL
portion of the From header:
MessageManipulations 1 = 1, Invite.request,
"header.REQUEST-URI.url.user == '101'",
header.REMOTE-PARTY-ID.url, 2,
'sip:[email protected];tusunami=0', 0;
Result:
Remote-Party-ID:
<sip:[email protected];tusunami=0>;party=calling;npi
=0;ton=0
Example 2
Rule:
If the method type is 5 (INVITE), then modify the Remote-Party-Id
header:
MessageManipulations 2 = 1, Invite.request,
"header.REQUEST-URI.methodtype == '5'",
header.REMOTE-PARTY-ID.url, 2,
'sip:[email protected];tusunami=0', 0;
Result:
Remote-Party-ID:
<sip:[email protected];tusunami=0>;party=calling;npi
=0;ton=0
Example 3
Rule:
For all request URI's whose method types are 488, modify the message
type to a 486:
MessageManipulations 1 = 1, , header.request-
uri.methodtype=='488', header.request-
uri.methodtype, 2, '486', 0;
Result:
SIP/2.0 486 Busy Here
8.4.9.2.24 Require
An example of the header is shown below:
Require: 100rel
The header properties as shown in the table below:
Header Level Action
Add
Delete
Modify
List Entries
Operations Supported
Yes
Yes
No
N/A
Keyword
Sub Types
Attributes
N/A N/A
N/A
Below are header manipulation examples:
Example 1
Rule:
Add a Require header to all messages:
MessageManipulations 1 = 1, , ,header.require, 0,
"'early-session,em,replaces'", 0;
Result:
Require: em,replaces,early-session
Example 2
Rule:
If a Require header exists, then delete it:
MessageManipulations 2 = 1, Invite, "header.require
exists" ,header.require, 1, "''", 0;
Result:
The Require header is deleted.
Содержание 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 ...