Hi all,

Just wondering if I can add/ delete users to the db from the CLI (I'm using ESL java library)?

See http://wiki.freeswitch.org/wiki/Function_db

From the Dialplan this is possible, I want however to dynamically add new users.

<action application="db" data="insert/realm/key/value"/>

In the api (mod commands) nothing is mentioned about "db"

I don't know if something like this could work with my example extension 1999, default group named default...

response = client.sendSyncApiCommand( "db", "insert/default/1999/1999");

Another option is to use mod_xml_curl and feed the dialplan or user directory to FreeSwitch back again.

Kind regards,

Peter