SIP User's Manual 792 Document #: LTRT-83310
Mediant 600 & Mediant 1000
Header Level Action Add Delete Modify List Entries
Operations Supported No No No N/A
Keyword Sub Types Attributes
Num Integer Read Only
Type String Read Only
Below is a header manipulation example:
Rule:
If the Cseq number is 1, then modify the user in the Contact header to fred.
MessageManipulations 0 = 1, Invite,
header.cseq.num=='1',header.contact.url.user, 2, 'fred', 0;
Result:
Contact: <sip:fred@10.132.10.128:5070>
C.2.7 Diversion
An example of the header is shown below:
Diversion: <sip:654@IPG2Host;user=phone>;reason=user-
busy;screen=no;privacy=off;counter=1
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes Yes 3
Keyword Sub Types Attributes
Name String Read/Write
Param Param Read/Write
Privacy Enum Privacy (see 'Privacy' on page
820)
Read/Write
Reason Enum Reason (see 'Reason
(Diversion)' on page 820)
Read/Write
Screen Enum Screen (see 'Screen' on page
823)
Read/Write
URL URL Structure (see 'URL' on page
815)
Read/Write
Below are header manipulation examples:
Example 1 Rule:
Add a Diversion header to all INVITE messages:
MessageManipulations 0 = 1, invite, ,
header.Diversion, 0, '<tel:+101>;reason=unknown;
counter=1;screen=no; privacy=off', 0;
Result:
Diversion: <tel:+101>;reason=user-
busy;screen=no;privacy=off;counter=1
Example 2 Rule:
Modify the Reason parameter in the header to 1, see 'Reason (Diversion)'
on page 820 for possible values: