Version 6.4  825  March 2012 
SIP User's Manual   C. SIP Message Manipulation Syntax 
Element 
Type 
Comman
d Type 
Command  Value Type  Remarks 
contains  String  Returns true if the string given is found in the 
parameter value. 
!contains  String  Returns true if the string given is not found in 
the parameter value. 
Body 
Match  ==  String  Returns true if the body’s content equals to the 
value. 
!=  String  Returns true if the body’s content not equals to 
the value. 
contains  String  Returns true if the string given is found in the 
body’s content. 
!contains  String  Returns true if the string given is not found in 
the body’s content. 
exists 
 
Returns true if this body type exists in the 
message. 
!exists 
 
Returns true if this body type does not exist in 
the message. 
Action  Modify  String  Modifies the body content to the new value. 
Add  String  Adds a new body to the message. 
If such body exists the body content will be 
modified. 
Remove 
 
Removes the body type from the message. 
Header-
List 
Match  ==  String 
*Header-list 
Returns true if the header’s list equals to the 
string. 
!=  String 
*Header-list 
Returns true if the header’s list not equals to 
the string. 
contains  String  Returns true if the header’s list contains the 
string. 
!contains  String  Returns true if the header’s list does not 
contain the string. 
exists 
 
Returns true if at least one header exists in the 
list. 
!exists 
 
Returns true if no headers exist in the list. 
Action  Modify  String 
*Header 
Removes all the headers from the list and 
allocates a new header with the given value. 
Add  String 
*Header 
Adds a new header to the end of the list. 
Remove 
 
Removes the whole list from the message. 
Header 
Match  ==  String 
*Header 
Returns true if a header equals to the value. 
The header element must not be a list.