User's Manual  280  Document #: LTRT-10632 
 
  Mediant 800B Gateway & E-SBC 
15.4.12.2  Configuring AD-Based Routing Rules 
The following procedure describes how to configure outbound IP routing based on LDAP queries.  
  To configure LDAP-based IP routing for Skype for Business: 
1.  Configure the LDAP server parameters, as described in 'Configuring LDAP Servers' on page 
258. 
2.  Configure the AD attribute names used in the LDAP query: 
a.  Open the SIP Definitions General Settings page (Setup menu > Signaling & Media tab 
> SIP Definitions folder > SIP Definitions General Settings). 
Figure  15-41: LDAP Parameters for Microsoft Skype for Business 
 
b.  Configure the LDAP attribute names as desired. 
3.  Gateway application: Configure AD-based Tel-to-IP routing rules: 
a.  Open the Tel-to-IP Routing table (see Configuring Tel-to-IP Routing Rules on page 
525). 
b.  Configure query-result routing rules for each IP domain (private, PBX / IP PBX, Skype 
for Business clients, and mobile), using the LDAP keywords (case-sensitive) for the 
prefix destination number: 
♦  PRIVATE: Private number 
♦  OCS: Skype for Business client number 
♦  PBX: PBX / IP PBX number 
♦  MOBILE: Mobile number 
♦  LDAP_ERR: LDAP query failure 
c.  Configure a routing rule for routing the initial Tel call to the LDAP server, using the value 
"LDAP" for denoting the IP address of the LDAP server. 
d.  For alternative routing, enable the alternative routing mechanism and configure 
corresponding SIP reasons for alternative routing. For this feature, alternative routing 
starts from the table row located under the LDAP query row. 
4.  SBC application: Configure AD-based IP-to-IP routing rules: 
a.  Open the IP-to-IP Routing table (see Configuring SBC IP-to-IP Routing Rules on page 
709). 
b.  Configure query-result routing rules for each IP domain (private, PBX / IP PBX, Skype 
for Business clients, and mobile), using the LDAP keywords (case-sensitive) in the 
Destination Username Prefix field: 
♦  PRIVATE: Private number 
♦  OCS: Skype for Business client number 
♦  PBX: PBX / IP PBX number