Hi Michael and group,
I tried the mod_xml_curl after studying the wiki. It works like a charm and FS post to my java servlet easily (dialplan and user directory).
I read on a blog there is option 'cacheable=true' to prevent a post every time a dial is made, do you know where to put this?
I suspected that the reloadxml would trigger a post but it doesn't, dialplan is triggered from dial and user directory from startup of FS and dial I thought.
FS is highly customizable and I need to find my way but it works like a charm.
I wonder if there are people who had a successful mod_xml_java build on Windows. I made a own project and put references to the core but got stuck and left it because it took too much time.
Thanks and have a nice weekend all!
Peter
On 14 sep 2012, at 19:01, Michael Collins wrote:
Hi Peter!
Welcome to FreeSWITCH! Glad to have you. These are great questions. FS has a db command that can be executed from fs_cli, however this isn't what you want/need for users. The user directory is where all that stuff is handled. Static XML is, of course, in conf/directory/* and you can add/remove there, but that doesn't sound like what you need. The best option for you right now is to get up to speed with mod_xml_curl. Using mod_xml_curl you can have FS poll a database each time there is a need, such as when there is an auth challenge taking place.
We have several people who've done lots of mod_xml_curl stuff, so feel free to ask away, but please check the wiki first since there is a lot of information and examples there. You may also enjoy discussing this live in #freeswitch channel on irc.freenode.net.
-MC
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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