Download User`s Manual

Transcript
SIP User's Manual
8. IP Telephony Capabilities
Below are header manipulation examples:
Example 1
Rule:
Result:
Example 2
Rule:
Result:
Add a Proxy-Require header to the message:
MessageManipulations 1 = 1, any, , header.ProxyRequire, 0, "'sec-agree'", 0;
Proxy-Require: sec-agree
Modify the Proxy-Require header to itsp.com:
MessageManipulations 2 = 1, any, , header.ProxyRequire, 2, "itsp.com'", 0;
Proxy-Require: itsp.com
8.4.9.2.19 Reason
An example of the header is shown below:
Reason: SIP ;cause=200 ;text="Call completed elsewhere"
The header properties as shown in the table below:
Header Level Action
Operations Supported
Keyword
Add
Yes
Delete
Yes
Modify
Yes
Sub Types
List Entries
N/A
Attributes
MLPP
MLPP Structure (see ''MLPP'' on
page 529)
Read/Write
Reason
Reason Structure (see ''Reason
Structure'' on page 530)
Read/Write
Below are header manipulation examples:
Example 1
Rule:
Result:
Example 2
Rule:
Result:
Example 3
Rule:
Result:
Add a Reason header:
MessageManipulations 0 = 1, any, ,header.reason, 0,
"'SIP;cause=200;text="Call completed elsewhere"'", 0;
Reason: SIP ;cause=200 ;text="Call completed elsewhere"
Modify the reason cause number:
MessageManipulations 0 = 1, any,
,header.reason.reason.cause, 0, '200', 0;
Reason: Q.850 ;cause=180 ;text="Call completed
elsewhere"
Modify the cause number:
MessageManipulations 0 = 1, any,
,header.reason.reason.reason, 0, '483', 0;
Reason: SIP ;cause=483 ;text="483 Too Many Hops"
Note: The protocol (SIP or Q.850) is controlled by setting the cause number to be greater
than 0. If the cause is 0, then the text string (see Example 3) is generated from the reason
number.
Version 6.2
517
February 2011