Hi all,<br><br>Just wondering if I can add/ delete users to the db from the CLI (I'm using ESL java library)?<br><br>See <a href="http://wiki.freeswitch.org/wiki/Function_db">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><action application="db" data="insert/realm/key/value"/>
</pre><br>In the api (mod commands) nothing is mentioned about "db"<br><br>I don't know if something like this could work with my example extension 1999, default group named default...<br><br>response = client.sendSyncApiCommand( "db", "insert/default/1999/1999");<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>