[Freeswitch-users] Adding users programatically

Steven Ayre steveayre at gmail.com
Thu Nov 10 01:58:57 MSK 2016


While mod_xml_curl would also be my preference, it's also possible within a
lua script if you want to generate it within FreeSWITCH rather than from an
external server.

See the example script on
https://freeswitch.org/confluence/display/FREESWITCH/Lua+FreeSWITCH+Dbh

On 9 November 2016 at 15:29, Michael Jerris <mike at jerris.com> wrote:

> use mod_xml_curl
>
> > On Nov 9, 2016, at 4:24 AM, Gonzalo Gasca Meza <gonzalo at parzee.com>
> wrote:
> >
> > 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161109/808812b7/attachment-0001.html 


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