<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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?<br>
<br>
Thanks in advance...<br>
<br>
j.<br>
<br>
Anthony Minessale wrote:
<blockquote cite="mid:715875.89083.qm@web90613.mail.mud.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">mod_ldap
is a plugin for the directory interface abstraction.<br>
Basically the directory interface is a clone of the ldap api but<br>
can have pluggable modules to use other means such as sql of providing
the data.&nbsp; The only thing that uses this interface is<br>
  <br>
mod_dialplan_directory which is an example dialplan that uses<br>
the directory interface.<br>
  <br>
This may start to sound confusing so keep in mind the ldap<br>
api is called the "directory interface".<br>
  <br>
There is also the "xml directory" which is a section of <br>
the FreeSWITCH virtual meta xml config registry. This is <br>
where the domains and users are kept.<br>
  <br>
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"<br>
  <br>
Basically, you would create a blank xml object then using <br>
the param strings passed to you make an ldap query via the <br>
directory interface that matches what is being looked for.<br>
then as you get results you take the data and create tags into<br>
the xml object until it's fully populated and return the object to<br>
the caller.<br>
  <br>
If this seems like too much, you can also use mod_xml_curl to do<br>
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.<br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <div>&nbsp;</div>
  <div>Anthony Minessale II<br>
  <br>
  <span>FreeSWITCH <a moz-do-not-send="true" target="_blank"
 href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br>
  <span>ClueCon <a moz-do-not-send="true" target="_blank"
 href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br>
  <br>
AIM: anthm<br>
<a class="moz-txt-link-abbreviated" href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
<a class="moz-txt-link-abbreviated" href="mailto:GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com">GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: irc.freenode.net #freeswitch</div>
  <div><br>
FreeSWITCH Developer Conference<br>
<a class="moz-txt-link-abbreviated" href="mailto:sip:888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a class="moz-txt-link-abbreviated" href="mailto:iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a class="moz-txt-link-abbreviated" href="mailto:googletalk:conf+888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400</div>
  <div
 style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br>
  <br>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">-----
Original Message ----<br>
From: Josip Djuricic <a class="moz-txt-link-rfc2396E" href="mailto:josip.djuricic@primatel.hr">&lt;josip.djuricic@primatel.hr&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Sent: Tuesday, December 11, 2007 2:51:48 PM<br>
Subject: [Freeswitch-users] mod_ldap<br>
  <br>
Hi everyone,<br>
  <br>
since I can't find any info's regarding mod_ldap, I wonder if anyone <br>
made it work...and if can somebody wrote something about it on the wiki
  <br>
or on the reply for this mail... I would really like freeswitch to use <br>
ldap for users and dialplans, just till yet I didn't managed to make it
  <br>
work.<br>
  <br>
Thank you all in advance.<br>
  <br>
J.<br>
  <br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
  <a moz-do-not-send="true"
 ymailto="mailto:Freeswitch-users@lists.freeswitch.org"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
  <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
  </div>
  <br>
  </div>
  </div>
  <br>
  <hr size="1">Looking for last minute shopping deals? <a
 moz-do-not-send="true"
 href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>