Skip to main content

mod_ldap

About

mod_ldap provide access for LDAP via directory layer. It can be used over the directory layout and does not have any global variables. It use simple unencrypted auth and deprecated functions :). So all what we need is to start a rewrite.

Click here to expand Table of Contents

New module to create

  • Can access SASL and simple.
  • Connected via secure connection - please don't support unencrypted.
  • Use the directory interface.

Old Module Example (mod_ldap)

You can use it as dialplan. conf/autoload_configs/dialplan_directory.conf.xml:

<configuration name="dialplan_directory.conf" description="Dialplan Directory">
<settings>
<param name="directory-name" value="ldap"/>
<param name="host" value="ldap.example.org"/>
<param name="dn" value="uid=sample,ou=freeswitch,dc=example,dc=org"/>
<param name="pass" value="c-base"/>
<param name="base" value="ou=freeswitch,dc=example,dc=org"/>
</settings>
</configuration>

Your LDAP should have fields labeled with 'exten' 'callflow' and 'context'.

svn r16506 --Lynxis 02:04, 25 January 2010 (UTC)