[Freeswitch-users] event socket : userauth undocumented esl command?

Dave R. Kompel drk at drkngs.net
Thu Oct 25 00:10:48 MSD 2012


I don't know if anyone has done it w/ static XML, normaly if you are using external config, you look for the event header "action", and if it's "event_socket_auth", then you check the event socket users, and not the normal ones.   
   
I know the only way I use it is when using some sort of external config. XML_Curl or switch_bind_xml_search_function. Has anyone here actually got it working w/ static XML?  
   
--Dave
      _____  

  From: Steven Ayre [mailto:steveayre at gmail.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Wed, 24 Oct 2012 09:42:58 -0700
Subject: Re: [Freeswitch-users] event socket : userauth undocumented esl command?

It's new to me too.  

  
Reading the mod_event_socket source code you authenticate as a user at domain and it performs a user directory lookup for that user.  

  
It looks for the following variables in the directory entry:  
    esl-password  
    esl-allowed-log  
    esl-allowed-events  
    esl-allowed-api  

  
esl-password is required.  
esl-allowed-log is either true or false (optional, default is true)  
esl-allowed-events and esl-allowed-api are also optional, I think the default would be all allowed.  

  
It appears the command syntax is 'userauth user at domain:password'  

  
-Steve  

  

  
  

  
  
On 24 October 2012 08:21, 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

      
   
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/0e7cc589/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list