Data Type Operators and Media Type Values for Rules

This appendix covers the following topics:

Introduction

The topics in this section explain specific data type operators and media type values for route rules and classification rules that are defined in the Route tab, Route Detail page, and the Classification tab, Classification Detail page, respectively.

Note: The selected Key determines the availability of operators.

Operators for Data Type: String

The following table lists and describes the operators for data type: string and the condition under which the rule is evaluated to be true.

Operators for Data Type: String
Operator The rule is evaluated to be true if the media item value for a given key …
begins with Begins with the given string
contains Contains the given string
does not contain Does not contain the given string
does not equal Does not match the given string
does not exist in Does not exist in the given string
ends with Ends with the given string
equals Matches the given string without any case restrictions
equals (Match Case) Matches the given string with case restriction
exists in Is a subset of any of the given strings (a simplified OR operator)

Operators for Data Type: Number

The following table lists and describes the operators for data type: number and the condition under which the rule is evaluated to be true.

.

Operators for Data Type: Number
Operator The rule is evaluated to be true if the media item value for a given key …
!= Is not equal to the given value
< Is lesser than the given value
<= Is lesser than or equal to the given value
= Is equal to the given value
> Is greater than the given value
>= Is greater than or equal to the given value
between Is between the two given values
does not exist in Does not match any of the given values
exists in Matches any of the given values (a simplified OR operator)

Operators for Data Type: Date

The following table lists and describes the operators for data type: date and the condition under which the rule is evaluated to be true.

.

Operators for Data Type: Date
Operator The rule is evaluated to be true if the media item value for a date/time key is …
after(hh:mm:ss) After the given time
before(hh:mm:ss) Before the given time
between(hh:mm:ss-hh:mm:ss) Between the given times
day of the week in (1,2,3,4,5,6,7) Specific day/s, where 1=Sunday, 2=Monday, and so on.

Supported Media Type Values for Rules

The following values are supported by Oracle Routing Server for the Key "Media Type" in the Values fields of the Route Rules and Classification Rules pages.

The Value for Key "Media Type" can be any of the case-independent values (inbound, outbound, email and Web callbacks) that are listed in the following table.

Supported Media Type Values for Rules
Inbound Telephony Outbound Telephony Email Web CallBack
call outboundphone email webcall
inboundcall outboundtelephone    
inboundphone      
inboundtele      
inboundtelephony      
inboundtelephone      
phonecall outboundcall inboundemail webcallback
phone outboundtele    
telephony outboundtelephony