[Freeswitch-users] Passing stuff from javascript to mod_xml_curl and then to a authentication web service

Colin Morelli colin.morelli at gmail.com
Fri May 6 22:40:29 MSD 2016


FS posts the username to your web service in a parameter called "user"

On Fri, May 6, 2016 at 2:29 PM Oivvio Polite <mylists at polite.se> wrote:

> On fre, maj 06, 2016 at 08:51:25 -0500, Ken Rice wrote:
> > mod_xml_curl just requests configurations.... in the case of the
> directory,
> > it literally requests the exact same thing you would put in the static
> XML
> > files for configs.
> >
> > In the event of someone logging in with Verto, FreeSWITCH will make an
> xml
> > curl call to the webservice providing the directory expecting to get an
> xml
> > blob back that is a complete directory config for that user. The Username
> > and Password provided by Verto are them compared. Does password in the
> xml
> > field for the user passed from the xml webservice == the password passed
> in
> > from the verto login attempt if yes the user is authenticated.
>
> Ok things are getting clearer but I'm not quite there. From what you're
> saying "... back that is a complete directory config for that user" I
> get the impression that my webservice should answer with the xml for a
> single user, but how do I pass the username to the webservice?
>
> Or is it rather the case that I push the entire directory containing ALL
> users on every single request?
>
> Oivvio
>
> _________________________________________________________________________
> 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/20160506/85781688/attachment-0001.html 


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