[Freeswitch-users] External authentication

Michael Jerris mike at jerris.com
Tue May 15 20:22:31 UTC 2018


if you have it not hitting curl at all (and you have xml_curl debug_on enabled) and you see nothing, it sounds like the connection is failing before it even gets that far.  Its hard to tell why with tiny snippets of information cherry picked out like below.  Something in verto settings i would suspect.  You can try to enable verto debug to get some more info possibly.


> On May 15, 2018, at 4:17 PM, Rick Jarvis <rick at magicmail.mooo.com> wrote:
> 
> What am I looking for exactly? I am seeing:
> 
> mod_verto.c:1876 BAD READ -1000
> 
> …which sounds relevant. But I’m not seeing anything on my app receiving the request (I’ve got that simply console logging anything that hits the URL, and nothing happens when doing the Verto login…)
> 
>  
>> On 15 May 2018, at 20:40, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>> 
>> it certainly can do curl directory lookups with verto.  if you do the api command “xml_curl debug_on” it will provide more details of the requests and responses, it looks like you are not handling the request in your cgi the way we expect.
>> 
>>> On May 15, 2018, at 2:44 PM, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> wrote:
>>> 
>>> Thanks José,
>>> 
>>> It’s the XML_CURL binding bit that’s relevant to me then, as the server it’s querying is something we've written already.
>>> 
>>>   <bindings>
>>>     <binding name="directory">
>>>       <param name="gateway-url" value="https://server/xmlcurl <https://server/xmlcurl>" bindings="directory"/>
>>>     </binding>
>>>   </bindings>
>>> 
>>> So I’m seeing posts come into my server from general stuff, but nothing when I try and authenticate with it (via Verto). 
>>> 
>>> On the FS console I’m seeing:
>>> 
>>> 	"jsonrpc":	"2.0",
>>> 	"id":	1,
>>> 	"error":	{
>>> 		"code":	-32000,
>>> 		"message":	"Authentication Required"
>>> 	}
>>> 
>>> So I guess either it’s not working, or maybe FS doesn’t support Curl directories for Verto?
>> 
>> _
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180515/e4c4efd0/attachment-0001.html>


More information about the FreeSWITCH-users mailing list