From
An example of the header is shown below:
From: <sip:555@10.132.10.128;user=phone>;tag=YQLQHCAAYBWKKRVIMWEQ
The header properties are shown in the following table:
|
Header Level Action |
Add |
Delete |
Modify |
List Entries |
|---|---|---|---|---|
|
Operations Supported |
No |
No |
Yes |
NA |
|
Keyword |
Sub Types |
Attributes |
|---|---|---|
|
Name |
String |
Read/Write |
|
Param |
Param |
Read/Write |
|
tag |
String |
Read Only |
|
URL |
URL Structure (see URL) |
Read/Write |
Below are header manipulation examples:
|
Example 1 |
Rule: |
Change the user part of the From header if the user is not 654:
|
|||||||||||||||
|
Result: |
From: <sip:fred@IPG2Host;user=phone>;tag=1c20161 |
||||||||||||||||
|
Example 2 |
Rule: |
Add a new parameter to the From header called p1 and set its value to myParameter:
|
|||||||||||||||
|
Result: |
From: <sip:fred@IPG2Host;user=phone>;p1=myParameter;tag=1c5891 |
||||||||||||||||
|
Example 3 |
Rule: |
Modify the URL in the From header:
|
|||||||||||||||
|
Result: |
From: <sip:3200@110.18.5.41;user=phone;tusunami=0>;tag=1c23750 |