Thanks for the follow up. I don&#39;t know the answer to either of your questions so I&#39;ll defer to those with more experience than I.<br>-MC<br><br><div class="gmail_quote">On Fri, Sep 14, 2012 at 10:54 AM, Peter van Raamsdonk <span dir="ltr">&lt;<a href="mailto:peetzer@gmail.com" target="_blank">peetzer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Michael and group,</div><div><br></div><div>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).</div>
<div>I read on a blog there is option &#39;cacheable=true&#39; to prevent a post every time a dial is made, do you know where to put this?</div><div><br></div><div>I suspected that the reloadxml would trigger a post but it doesn&#39;t, dialplan is triggered from dial and user directory from startup of FS and dial I thought.</div>
<div><br></div><div>FS is highly customizable and I need to find my way but it works like a charm.</div><div><br></div><div>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.</div>
<div><br></div><div>Thanks and have a nice weekend all!</div><div><br></div><div>Peter</div><br><div><div>On 14 sep 2012, at 19:01, Michael Collins wrote:</div><br><blockquote type="cite">Hi Peter!<br><br>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&#39;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&#39;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.<br>

<br>We have several people who&#39;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 <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a>.<br>

<br>-MC<br><br><div class="gmail_quote">On Fri, Sep 14, 2012 at 2:03 AM, Peter van Raamsdonk <span dir="ltr">&lt;<a href="mailto:peetzer@gmail.com" target="_blank">peetzer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all,<br><br>Just wondering if I can add/ delete users to the db from the CLI (I&#39;m using ESL java library)?<br><br>See <a href="http://wiki.freeswitch.org/wiki/Function_db" target="_blank">http://wiki.freeswitch.org/wiki/Function_db</a><br>


<br>From the Dialplan this is possible, I want however to dynamically add new users.<br><br><pre>&lt;action application=&quot;db&quot; data=&quot;insert/realm/key/value&quot;/&gt;
</pre><br>In the api (mod commands) nothing is mentioned about &quot;db&quot;<br><br>I don&#39;t know if something like this could work with my example extension 1999, default group named default...<br><br>response = client.sendSyncApiCommand( &quot;db&quot;, &quot;insert/default/1999/1999&quot;);<br>


<br>Another option is to use mod_xml_curl and feed the dialplan or user directory to FreeSwitch back again.<br><br>Kind regards,<br><br>Peter<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org/" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com/" target="_blank">http://www.ClueCon.com</a><br>

<a href="http://www.OSTAG.org/" target="_blank">http://www.OSTAG.org</a><br><br><br>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><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></blockquote></div><br></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>