FreeSwitch Dialplan Directory

From FreeSWITCH Wiki
Jump to: navigation, search

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