Call Setup Rule Examples - AudioCodes Mediant 3000 User Manual

Media gateway & enterprise session border controller (e-sbc)
Hide thumbs Also See for Mediant 3000:
Table of Contents

Advertisement

Parameter
Action Subject
[CallSetupRules_ActionSub
ject]
Action Type
[CallSetupRules_ActionTyp
e]
Action Value
[CallSetupRules_ActionVal
ue]

16.6.1 Call Setup Rule Examples

Below are configuration examples for using Call Setup Rules.
Example 1: This 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 is found, the device retrieves the number of the attribute record,
"alternateNumber" and uses this number as the source number.
Call Setup Rules table configuration:
User's Manual
Defines the element (header, parameter, or body) upon which you want
to perform the action.
The valid value is a string of up to 100 characters (case-insensitive).
Examples:
header.from contains '1234' (SBC calls only)
param.call.dst.user (called number)
param.call.src.user (calling number)
param.call.src.name (calling name)
param.call.redirect (redirect number)
param.call.src.host (source host)
param.call.dst.host (destination host)
Defines the type of action to perform.
[0] Add (default) = Adds new message header, parameter or body
elements.
[1] Remove = Removes message header, parameter, or body
elements.
[2] Modify = Sets element to the new value (all element types).
[3] Add Prefix = Adds value at the beginning of the string (string
element only).
[4] Add Suffix = Adds value at the end of the string (string element
only).
[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] Exit = Stops the Rule Set ID and returns a result ("True" or
"False").
[21 Run Rules Set = Performs a different Rule Set ID, specified in
the 'Action Value' parameter (below).
Defines a value that you want to use in the action.
The valid value is a string of up to 300 characters (case-insensitive).
Examples:
'+9723976'+ldap.attr.alternateNumber
'9764000'
ldap.attr.displayName
true (if the 'Action Type' is set to Exit)
false (if the 'Action Type' is set to Exit)
290
Description
Document #: LTRT-89730
Mediant 3000

Advertisement

Table of Contents
loading

Table of Contents