[Freeswitch-users] mod_ldap

Anthony Minessale anthmct at yahoo.com
Tue Dec 11 13:02:58 PST 2007


mod_ldap is a plugin for the directory interface abstraction.
Basically the directory interface is a clone of the ldap api but
can have pluggable modules to use other means such as sql of providing the data.  The only thing that uses this interface is

mod_dialplan_directory which is an example dialplan that uses
the directory interface.

This may start to sound confusing so keep in mind the ldap
api is called the "directory interface".

There is also the "xml directory" which is a section of 
the FreeSWITCH virtual meta xml config registry. This is 
where the domains and users are kept.

To use ldap for this a module similar to mod_xml_curl would have to be made called mod_xml_directory that would allow the "directory interface" to generate xml when the "xml directory was queried"

Basically, you would create a blank xml object then using 
the param strings passed to you make an ldap query via the 
directory interface that matches what is being looked for.
then as you get results you take the data and create tags into
the xml object until it's fully populated and return the object to
the caller.

If this seems like too much, you can also use mod_xml_curl to do
a CGI request to your web server then take the params and do the ldap conversion from there and send back a text representation of the xml.






 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: Josip Djuricic <josip.djuricic at primatel.hr>
To: freeswitch-users at lists.freeswitch.org
Sent: Tuesday, December 11, 2007 2:51:48 PM
Subject: [Freeswitch-users] mod_ldap


Hi everyone,

since I can't find any info's regarding mod_ldap, I wonder if anyone 
made it work...and if can somebody wrote something about it on the wiki
 
or on the reply for this mail... I would really like freeswitch to use 
ldap for users and dialplans, just till yet I didn't managed to make it
 
work.

Thank you all in advance.

J.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20071211/2259509d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list