Referred-By
An example of the header is shown below:
Referred-By: <sip:referrer@referrer.example>;
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 |
---|---|---|
param |
param |
Read/Write |
URL |
URL Structure (see URL) |
Read/Write |
Below are header manipulation examples:
Example 1 |
Rule: |
Add a Referred-By header: MessageManipulations 0 = 1, any, ,header.Referred-By, 0, '<sip:refer@refer.com>', 0; |
Result: |
Referred-By: <sip: sip:refer@refer.com> |
|
Example 2 |
Rule: |
Modify the host: MessageManipulations 0 = 1, any, ,header.Referred-By.url.host, 0, 'yahoo.com', 0; |
Result: |
Referred-By: <sip:refer@yahoo.com> |
|
Example 3 |
Rule: |
Add a new parameter to the header: MessageManipulations 0 = 1, any, ,header.Referred-By.param.p1, 0, 'fxs', 0 |
Result: |
Referred-By: <sip:referrer@yahoo.com>;p1=fxs |