CHAPTER 20 SIP Definitions
Parameter
'Action Value'
action-value
[CallSetupRules_
ActionValue]
Call Setup Rule Examples
Below are configuration examples for using Call Setup Rules.
■
Example 1: The example configures the device to replace (manipulate) the incoming call's
source number with a number retrieved from the AD by an LDAP query. The device queries the
AD server for the attribute record, "telephoneNumber" whose value is the same as the received
source number (e.g., "telephoneNumber =4064"). If such an Attribute exists, the device
retrieves the number of the attribute record, "alternateNumber" and uses this number as the
source number.
●
Call Setup Rules table:
◆
◆
◆
◆
◆
◆
◆
◆
◆
◆
■
[5] Remove Suffix = Removes value from the end of the string
(string element only).
■
[6] Remove Prefix = Removes value from the beginning of the
string (string element only).
■
[20] Run Rules Set = Performs a different Rule Set ID, specified in
the 'Action Value' parameter (see below)
■
[21] Exit = Stops the Rule Set ID and returns a result ("True" or
"False").
Defines a value that you want to use in the action.
The valid value is a string of up to 300 characters (case-insensitive).
You can use the built-in syntax editor to help you configure the field.
Click the Editor button located alongside the field to open the Editor,
and then simply follow the on-screen instructions.
Examples:
■
'+9723976'+ldap.attr.alternateNumber
■
'9764000'
■
ldap.attr.displayName
■
enum.result.url
■
srctags
■
http.response.body
■
application/x-www-form-urlencoded (for HTTP Content-Type
header in HTTP requests)
■
true (if the 'Action Type' is set to Exit)
■
false (if the 'Action Type' is set to Exit)
'Rules Set ID': 1
'Request Type': LDAP
'Request Target': LDAP-DC-CORP
'Request Key': 'telephoneNumber=' + param.call.src.user
'Attributes to Get': alternateNumber
'Row Role': Use Current Condition
'Condition': ldap.attr. alternateNumber exists
'Action Subject': param.call.src.user
'Action Type': Modify
'Action Value': ldap.attr. alternateNumber
Description
- 459 -
Mediant 4000 SBC | User's Manual