Configure ldap-transactions
Use the ldap-transactions object in the ACLI to configure the application transaction type for Lightweight Directory Access Protocol (LDAP), to determine route priority in the route list, and to configure the LDAP configuration attributes for LDAP search queries in call routing.
-
Access the
ldap-config configuration element.
ORACLE# configure terminal ORACLE(configure)# session-router ORACLE(session-router)# ldap-config ORACLE(ldap-config)#
-
Type
ldap-transactions
, and press Enter to access the LDAP transactions-related attributes.
ACMEPACKET(ldap-config)# ldap-transactions ACMEPACKET(ldap-transactions)#
-
app-trans-type—Specify the application transaction type to use for LDAP. This value allows the
E-SBC to add call routing updates to the Active Directory. Default: ad-call-routing. Valid values:
- ad-call-routing (default)
ACMEPACKET(ldap-transactions)# app-trans-type ad-call-routing
-
route-mode—Specify the route priority that the
E-SBC uses in the route list. This parameter determines which routes are created, and the priority of those routes within the route list. Default: exact-match-only. Valid values:
- exact-match-only (default) - When there is an exact match between the dialed telephone number and an LDAP attribute value in the search response entry, a route is created corresponding to that LDAP attribute. When there is an exact match on multiple attributes, the ordering of LDAP attributes in the LDAP configuration determines the priority for each route. For example, an enterprise that uses the same phone number for both Lync and IP-PBX phones, if the msRTCSIP-Line attribute is configured first, the corresponding next hop (Lync Server) would be used to create the first route in the route list.
- attribute-order-only - The ordering of LDAP attributes in the LDAP configuration determines the priority for each route. So if the msRTCSIP-Line attribute is configured first, the corresponding next hop (Lync Server) would be used to create the first route in the route list. If there is a valid value present in the search response entry for a LDAP attribute, a route is created corresponding to that LDAP attribute.
Note:
The LDAP attribute must have a valid value in the response; a match is not necessary for that attribute. If an entry is returned in the search response, there must be a match on at least one other attribute. For example, the dialed telephone number could be +17813284392 (IP-PBX Phone#), and the msRTCSIP-Line in the response could be +17814307069 (Lync phone#). A route is created for the Lync phone#, even though the dialed telephone number is the PBX Phone#. - exact-match-first - If there is an exact match between the dialed telephone number and an LDAP attribute value in the search response entry, the corresponding route gets the highest priority in the route list. For the rest of the routes, the ordering of LDAP attributes in the LDAP configuration determines the priority for each route. So if the msRTCSIP-Line attribute is configured first, the corresponding next hop (Lync Server) would be used to create the second highest priority route in the route list. If there is a valid value present in the search response entry for an LDAP attribute, a route is created corresponding to that LDAP attribute.
Note:
The LDAP attribute must have a valid value in the response; a match is not necessary for that attribute. If an entry is returned in the search response, there must be a match on at least one other attribute. For example, the dialed telephone number could be +17813284392 (IP-PBX Phone#), and the msRTCSIP-Line in the response could be +17814307069 (Lync phone#). A route is created for the Lync phone#, even though the dialed telephone number is the PBX Phone#.
ACMEPACKET(ldap-transactions)# route-mode exact-match-only
- operation-type—(Optional) When configuring an LDAP query with multiple attributes, use the "and" operator or the "or" operator for more granular condition-based call routing.
-
ldap-cfg-attributes—Subelement to ldap-config. For more information on this element, see
Configuring ldap-cfg-attributes.
ACMEPACKET(ldap-transactions)# ldap-cfg-attributes ACMEPACKET(ldap-cfg-attributes)#
- Save and activate the configuration.