[Freeswitch-users] Newbie question, FS cli and db (users for user directory)
Peter van Raamsdonk
peetzer at gmail.com
Fri Sep 14 13:03:58 MSD 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120914/43f12db1/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list