[Freeswitch-users] Adding users programatically

Gonzalo Gasca Meza gonzalo at parzee.com
Wed Nov 9 12:24:51 MSK 2016


Hi forum,

I want to add sip users with mailbox (right now under 
/etc/freeswitch/directory/default as xml files) using FS API.
I would like to store user information in database (using pgsql 9.5).

Found these posts:

http://voicebundle.com/how-to-add-sip-user-in-freeswitch
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/scripts/perl/add_user
http://voicebundle.com/creating-users-extensions-in-freeswitch-creating-sip-accounts-in-freeswitch-using-add_user-script

But these are scripts which manipulate XML files. Looking to store 
information in database and have freeswitch read this information. (I 
can take care of adding user, delete user, update user, handle 
duplicates, etc.).

Similar like this post:
http://telecommusings.blogspot.com/2009/10/using-modxmlcurl-in-freeswitch-how-hard_28.html

Thank you



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list