Version 6.4 801 March 2012
SIP User's Manual C. SIP Message Manipulation Syntax
Result:
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.
C.2.20 Referred-By
An example of the header is shown below:
Referred-By: <sip:referrer@referrer.example>;
The header properties are shown in the table below:
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'
on page 815)
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-
Result:
Referred-By: <sip:referrer@yahoo.com>;p1=fxs
C.2.21 Refer-To
An example of the header is shown below:
Refer-To: sip:conference1@example.com
Refer-To:
<sips:a8342043f@atlanta.example.com?Replaces=12345601%40atlanta.ex
ample.com%3bfrom-tag%3d314159%3bto-tag%3d1234567>
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes No N/A