[Freeswitch-users] event socket : userauth undocumented esl command?
Michael Collins
msc at freeswitch.org
Wed Oct 24 19:59:54 MSD 2012
John,
I did not realize we had this either. Looking in mod_event_socket.c yields
some clues. Looking in the code you saw the block where it checks for
"userauth ". However, looking further down you see this:
if (switch_xml_locate_user("id", user, domain_name, NULL, &x_domain_root,
&x_domain, &x_user, &x_group, params) == SWITCH_STATUS_SUCCESS)
This suggests to me that the users are taken right from the XML user
directory and that you just need to figure out what parameters to set. I
would start there. Let us know what you find.
-MC
On Wed, Oct 24, 2012 at 12:21 AM, rentmycoder rentmycoder <
rentmycoder at gmail.com> wrote:
> Hi,
>
> I''ve read in an old esl source that a userauth command exist in
> mod_event_socket and provides user/password based authentication, not
> only password based, like auth...
> Th actual code accepts the userauth command...
> Question: where can I configure the user / password for the userauth
> command?
> Shouldn't this command bee in wiki?
> Thanks,
> John
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/64b534fa/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list