Require
An example of the header is shown below:
Require: 100rel
The header properties are shown in the following table:
|
Header Level Action |
Add |
Delete |
Modify |
List Entries |
|---|---|---|---|---|
|
Operations Supported |
Yes |
Yes |
Yes |
N/A |
|
Keyword |
Sub Types |
Attributes |
|---|---|---|
|
Capabilities |
SIPCapabilities Struct |
Read/Write |
Below are header manipulation examples:
|
Example 1 |
Rule: |
Add a Require header to all messages:
|
||||||||||||
|
Result: |
Require: em,replaces,early-session |
|||||||||||||
|
Example 2 |
Rule: |
If a Require header exists, then delete it:
|
||||||||||||
|
Result: |
The Require header is deleted. |
|||||||||||||
|
Example 3 |
Rule: |
Set the early media options tag in the header:
|
||||||||||||
|
Result: |
Require: em,replaces,early-session, early-media |
|||||||||||||
|
Example 4 |
Rule: |
Set the privacy options tag in the Require header:
|
||||||||||||
|
Result: |
Require: em,replaces,early-session, privacy |