Hi Ken,<br><br>xml_curl is a great idea. Is there anyway to not having to setup another HTTP server? For instance, can I have freeswitch to call an api or call a lua or php or c script that will return the xml response? That way, I don't need to maintain yet another service.<br>
<br>Thanks,<br>JB<br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 4:30 PM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">You just need to reloadxml you don’t have to restart the whole thing. You can also use xml_curl to feed the users from a database see my contrib directory (contrib/swk) for some example scripts and db code<br>
<br>
<br>
<hr align="center" size="3" width="95%"><b>From: </b>Juan Backson <<a href="mailto:juanbackson@gmail.com" target="_blank">juanbackson@gmail.com</a>><br>
<b>Reply-To: </b><<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b>Date: </b>Tue, 25 Aug 2009 16:21:58 +0800<br>
<b>To: </b><<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b>Subject: </b>[Freeswitch-users] reload user data<div><div></div><div class="h5"><br>
<br>
Hello,<br>
<br>
I would like to dynamically add user to freeswitch. If I add a new file to the directory dir, is there anyway to have freeswitch to read the new user xml file without having to restart freeswitch?<br>
<br>
Other than using flat file, is there anyway to add user to freeswitch user api command?<br>
<br>
Thanks,<br>
JB<br>
<br>
</div></div><hr align="center" size="3" width="95%"></span></font><font face="Consolas, Courier New, Courier"><span style="font-size: 10pt;">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</span></font></font>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>