FreeSwitch Dialplan Directory

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>


Related


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>


Related


Created by: trixter, Last modification: Thu 07 of Sep, 2006 (13:03 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+