Active Directory Routing

Using the powerful XML based dial plan in SBC, it is possible to achieve a number of advanced call flows and scenarios. In this example, we will highlight one of the possible dynamic routing features. Using the mod_curl module, we can have SBC perform an HTTP request to a CGI script from the dialplan, and then make a routing decision based on the response. Using this method, it is possible to add in and script virtually any logic you want to perform during the routing process. In this case, we will use a CGI script to query the corporate Active Directory server to check for a user's phone number. This technique can be adapted to route based on any attribute of a user's account in Active Directory.

Use Case

 

Before You Begin

  • Create an account on you Active Directory server that has read access and is allowed to perform an LDAP query on the directory

  • Create a web server with CGI enabled to house the query script ( )

Return to Documentation Home I Return to Sangoma Support