sip-manipulation > mime-rules
The mime-rules configuration element allows you to set parameters in the MIME rules that the Oracle Communications Session Border Controller uses to match against specific SIP methods and message types.
Parameters
- name
- Enter a unique identifier for this MIME rule.
- content-type
- Enter the SIP content type for which you want the MIME rules to be applied.
- msg-type
- Enter the SIP message type on which you want the MIME rules to be performed.
- Default: any
- Values: any | request | reply | out-of-dialog
- methods
- Enter the list of SIP methods to which the MIME rules apply. There is no default for this parameter.
- format
- Specifies the encode/decode format for the mime content.
- Default: ascii-string
- Values: ascii-string, hex-ascii, binary-ascii
- action
- Choose the type of action you want to be performed.
- Default: none
- Values: none | add | delete | manipulate | store | sip-manip | find-replace-all | reject | log | monitor
- comparison-type
- Select a method to determine how the body part of the SIP message is compared. This choice dictates how the Oracle Communications Session Border Controller processes the match rules against the SIP header.
- Default: case-sensitive
- Values: case-sensitive | case-insensitive | pattern-rule | refer-case-sensitive | refer-case-insensitive | boolean
- match-value
- Enter the value to match against the body part in the SIP message. This is where you can enter values to match using regular expression values. Your entries can contain Boolean operators.
- new-value
- When the action parameter is set to add or to manipulate, enter the new value that you want to substitute
- methods
- Enter the list of SIP methods to which the MIME rules apply. There is no default for this parameter.
- mime-header-rules
- access the mime-headers subelement.
Path
mime-rules is a subelement under the sip-manipulation element. The full path from the topmost ACLI prompt is: configure terminal > session-router > sip-manipulation > mime-rules.
Note:
This is a multiple instance configuration element.