Event
An example of the header is shown below:
Event: foo; id=1234
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 |
---|---|---|
EventKey |
Event Structure (see Event Structure) |
Read/Write |
Param |
Param |
Read/Write |
Below are header manipulation examples:
Example 1 |
Rule: |
Add parameter itsp-abc=voip to the Event header: MessageManipulations 0 = 1, invite, , header.event.param.itsp-abc, 0, 'voip' , 0; |
Result: |
Event: foo;id=1234;itsp-abc=voip |
|
Example 2 |
Rule: |
Modify the Event ID string: MessageManipulations 1 = 1, invite, , header.event.EVENTKEY.id, 2, '5678', 0; |
Result: |
Event: foo;id=5678; |
|
Example 3 |
Rule: |
Modify the Event package enum: MessageManipulations 2 = 1, invite, , header.event.EVENTKEY.EVENTPACKAGE, 2, '2', 0; |
Result: |
Event: refer;id=5678 |