[Freeswitch-users] mod_ldap
Raymond Chandler
intralanman at gmail.com
Tue Dec 11 15:07:34 PST 2007
Josip Djuricic wrote:
> Ok, maybe to rephrase my question a bit....is there a way to use
> realtime databases, or maybe via radius to get the data for the users
> or dialplans, instead of using xml files....
check out mod_xml_curl, look for curl in the wiki.... there are some
examples in svn under /contrib
> if there is can someone write the procedure, and if not let me know if
> ppl are interested to see such implementation, and I can probably
> start writing , or somebody's acctually working on it?
>
> Thanks in advance...
>
> j.
>
> Anthony Minessale wrote:
>> 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
>> <mailto: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
>>
>>
>> ------------------------------------------------------------------------
>> Looking for last minute shopping deals? Find them fast with Yahoo!
>> Search.
>> <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20071211/6a00d5e4/attachment-0002.html
More information about the FreeSWITCH-users
mailing list