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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 ----- Original Message ---- From: Josip Djuricic <josip.djuricic@primatel.hr> To: freeswitch-users@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@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
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.... 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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
----- Original Message ---- From: Josip Djuricic <josip.djuricic@primatel.hr> To: freeswitch-users@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@lists.freeswitch.org <mailto:Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Josip, There is the odbc interface for connecting to different data sources. For the radius interface, if you are interested, i can send you the radius module that i started writing a few months ago , so that you can keep on working on it. its also a directory interface module. /t On Dec 11, 2007 5:20 PM, Josip Djuricic <josip.djuricic@primatel.hr> 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.... 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?
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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
----- Original Message ---- From: Josip Djuricic <josip.djuricic@primatel.hr> To: freeswitch-users@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@lists.freeswitch.org <mailto:Freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Anthony Minessale
-
Josip Djuricic
-
Raymond Chandler
-
Tuyan Özipek