FreeSwitch is an open-source telephony application capable of being a class 4 or class 5 soft-switch as well as a PBX. Freeswitch runs on Linux, OSX, Windows NT/XP/CE, *BSD and many other platforms. It is licensed under the MPL (Mozilla Public License) version 1.0. FreeSwitch was written from the ground up as a new application and is not a fork of any other application.
Introduction
The Directory dialplan allows for LDAP queries to be made to decide where to route calls.
Example Configuration
<?xml version=”1.0″?>
<document type=”freeswitch/xml”>
<section name=”configuration” description=”Various Configuration”>
…
<configuration name=”sofia.conf” description=”sofia Endpoint”>
<profile name=”test”>
<param name=”dialplan” value=”directory”/>
</profile>
</configuration>
<configuration name=”dialplan_directory.conf” description=”Dialplan Directory”>
<settings>
<param name=”directory-name” value=”ldap”/>
<param name=”host” value=”ldap.freeswitch.org”/>
<param name=”dn” value=”cn=Manager,dc=freeswitch,dc=org”/>
<param name=”pass” value=”test”/>
<param name=”base” value=”dc=freeswitch,dc=org”/>
</settings>
</configuration>
…
</section>
</document>