Call Setup Rule Examples - AudioCodes Mediant 1000B User Manual

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

Advertisement

User's Manual

15.7.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:
Routing table configuration: A single routing rule is assigned the Call Setup
Rule Set ID.
Example 2: This example configures the device to replace (manipulate) the incoming
call's calling name (caller ID) with a name 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 =5098"). If
such an attribute is found, the device retrieves the name from the attribute record,
"displayName" and uses this as the calling name in the incoming call.
Call Setup Rules table configuration:
Routing table configuration: A single routing rule is assigned the Call Setup
Rule Set ID.
Version 7.0
'Rules Set ID': 1
'Attributes to Query': '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
Index 1:
'Call Setup Rules Set Id': 1
'Rules Set ID': 2
'Attributes to Query': 'telephoneNumber=' + param.call.src.user
'Attributes to Get': displayName
'Row Role': Use Current Condition
'Condition': ldap.attr. displayName exists
'Action Subject': param.call.src.name
'Action Type': Modify
'Action Value': ldap.attr. displayName
Index 1:
'Call Setup Rules Set Id': 2
285
Mediant 1000B Gateway and E- SBC
15. Services

Advertisement

Table of Contents
loading

Table of Contents