You can also do xml config hooks in perl and some of the other embedded languages.

Mike

On Aug 25, 2009, at 5:22 AM, Juan Backson wrote:

Hi Ken,

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.

Thanks,
JB

On Tue, Aug 25, 2009 at 4:30 PM, Ken Rice <kr...@freeswitch.org> wrote: 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


From: Juan Backson <juanback...@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Tue, 25 Aug 2009 16:21:58 +0800
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] reload user data


Hello,

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?

Other than using flat file, is there anyway to add user to freeswitch user api command?

Thanks,
JB

_______________________________________________
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

Reply via email to