<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks <span class="">José</span>,<br class=""><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 200); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  <bindings></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f4f4f4" class="">    </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class=""><binding</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name="directory"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">></span></div></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">      <param</span><span style="font-variant-ligatures: no-common-ligatures" class=""> name="gateway-url" value="<a href="https://server/xmlcurl" class="">https://server/xmlcurl</a>" bindings="directory"/</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">></span></div></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 200); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f4f4f4" class="">    </span><span style="font-variant-ligatures: no-common-ligatures" class=""></binding></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(52, 187, 200); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f4f4f4" class="">  </span><span style="font-variant-ligatures: no-common-ligatures" class=""></bindings></span></div>

<div><br class=""></div><div>So I’m seeing posts come into my server from general stuff, but nothing when I try and authenticate with it (via Verto). </div><div><br class=""></div><div>On the FS console I’m seeing:</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">      </span>"jsonrpc":<span class="Apple-tab-span" style="white-space:pre">        </span>"2.0",</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>"id":<span class="Apple-tab-span" style="white-space:pre">     </span>1,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>"error":<span class="Apple-tab-span" style="white-space:pre">  </span>{</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">           </span>"code":<span class="Apple-tab-span" style="white-space:pre">   </span>-32000,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">             </span>"message":<span class="Apple-tab-span" style="white-space:pre">        </span>"Authentication Required"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(195, 55, 32); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</span></div></div><div><br class=""></div><div>So I guess either it’s not working, or maybe FS doesn’t support Curl directories for Verto?</div><div><br class=""><blockquote type="cite" class=""><div class="">On 15 May 2018, at 13:01, Jose David Jurado Alonso <<a href="mailto:josedavid@zennio.com" class="">josedavid@zennio.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Rick,<div class=""><br class=""></div><div class="">I use this library: </div><div class=""><br class=""></div><div class=""><a href="https://github.com/soulhunter1987/freeswitch-curl" class="">https://github.com/soulhunter1987/freeswitch-curl</a></div><div class=""><br class=""></div><div class="">to handle the real time user authentication vía http with the data into a mysql database.</div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><p style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">José David Jurado Alonso <</span><a href="mailto:josedavid@zennio.com" target="_blank" class="">josedavid@zennio.com</a><span style="font-size:12.8px" class="">></span><br class=""></p><p style="font-size:12.8px" class=""><i class="">Área de Desarrollo de Software de Alto Nivel</i></p><p style="font-size:12.8px" class=""><b class="">Dpto. Ingeniería</b></p><p style="font-size:12.8px" class=""><img src="https://docs.google.com/uc?id=0B0uyIRQ41xTVZ2p4dzRmUUJ0N1E&export=download" class=""><br class=""></p><p style="font-size:12.8px" class="">Zennio Avance y Tecnología, S.L.</p><p style="font-size:12.8px" class=""><a href="https://maps.google.com/?q=C/+Rio+Jarama,132&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank" class="">C/ Rio Jarama,132</a>. Nave P-8.11</p><p style="font-size:12.8px" class="">45007 - Toledo (Spain)</p><p style="font-size:12.8px" class="">T: <a href="tel:+34%20925%2023%2020%2002" value="+34925232002" style="color:rgb(17,85,204)" target="_blank" class="">+34 925 232 002</a></p><div style="font-size: 12.8px;" class=""><br class="webkit-block-placeholder"></div><p style="font-size:12.8px" class=""><a href="http://www.zennio.com/" style="color:rgb(17,85,204)" target="_blank" class="">www.zennio.com</a></p><p style="font-size:12.8px" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><img src="https://mail.google.com/mail/u/1/?ui=2&ik=4f95c76d44&view=fimg&th=161e1c274ff8e660&attid=0.3&disp=emb&realattid=3fc38ca5cf8e3d90_0.0.2&attbid=ANGjdJ9P_x1tO5HM9l-y8WWaZlNTizKkroP6MZcY819SSLs5cQFDiU4GOHANv-P9NeuUa89SGKJAXCFOyCXMNdQGqlCTpkrfmV9c7iJwkgA3qgeOj3b1zD1ivqxgyLM&sz=w112-h76&ats=1519911080070&rm=161e1c274ff8e660&zw&atsh=1" alt="Descripción: Descripción: C:\Users\jjmanjarres\Desktop\Z zennio.jpg" border="0" width="56" height="38" class=""></span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(51,51,51)" class=""> </span><img src="https://mail.google.com/mail/u/1/?ui=2&ik=4f95c76d44&view=fimg&th=161e1c274ff8e660&attid=0.2&disp=emb&realattid=3fc38ca5cf8e3d90_0.0.3&attbid=ANGjdJ_vnoHxfE8cb45IkQe43UQ5n-08yZLjX2Xe6vu5EdgRbE8egSvmK_g2031-dilIe0LN6vu-gLgOSlVmyTRqib0KbtG8SPrWjesbl6nbhDA6VwX8XR2CkRlGohc&sz=w72-h72&ats=1519911080070&rm=161e1c274ff8e660&zw&atsh=1" alt="Descripción: Descripción: C:\Users\jjmanjarres\Desktop\twitter.jpg" border="0" width="36" height="36" class=""><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(51,51,51)" class=""> </span><img src="https://mail.google.com/mail/u/1/?ui=2&ik=4f95c76d44&view=fimg&th=161e1c274ff8e660&attid=0.1&disp=emb&realattid=3fc38ca5cf8e3d90_0.0.4&attbid=ANGjdJ8r3RPaRoinp9SjDl8JRp3OFImXAuiMrFhaq3__R7CSPbyT7qSP7KwwPMG2-X41vJqyV_gYO1juA-FJIK3t6FNQi3UxES4TsBZFe-N38VidF_o6wpIXp7Pgfzo&sz=w74-h72&ats=1519911080070&rm=161e1c274ff8e660&zw&atsh=1" alt="Descripción: Descripción: C:\Users\jjmanjarres\Desktop\descarga.jpg" border="0" width="37" height="36" class=""><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(51,51,51)" class=""> </span><img src="https://mail.google.com/mail/u/1/?ui=2&ik=4f95c76d44&view=fimg&th=161e1c274ff8e660&attid=0.5&disp=emb&realattid=3fc38ca5cf8e3d90_0.0.5&attbid=ANGjdJ_achdtWxbDwbNkUrS4sK4JT_qWa2ob64A1ijdxD7HzY-JnVWbJ6y8uT7E5cuNuBUpiMOAY-e-3ehamBlzMNNNC-nz50n71VLM1feoRybrEVEWzwMzywYLxAMs&sz=w72-h72&ats=1519911080070&rm=161e1c274ff8e660&zw&atsh=1" alt="Descripción: Descripción: C:\Users\jjmanjarres\Desktop\linkedin.png" border="0" width="36" height="36" class=""><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(51,51,51)" class=""> </span><img src="https://mail.google.com/mail/u/1/?ui=2&ik=4f95c76d44&view=fimg&th=161e1c274ff8e660&attid=0.4&disp=emb&realattid=3fc38ca5cf8e3d90_0.0.6&attbid=ANGjdJ8eETiv6qz-fa3-R1EiIU9mKRXlX1auPUHNTSMBQKzltEdaLPUjD297URHf3XrqxXJnQByEjNrdv4t2WxqIpN_EdmzZyNIsgDzZcRc_qSQQyIUOxdaWBokB-qA&sz=w72-h72&ats=1519911080070&rm=161e1c274ff8e660&zw&atsh=1" alt="Descripción: Descripción: C:\Users\jjmanjarres\Desktop\youtube.jpg" border="0" width="36" height="36" class=""></p><div style="font-size: 12.8px; margin-top: 0.19in; margin-bottom: 0.19in; line-height: 14.72px;" class=""><font color="#666666" class=""><font face="Arial, serif" class=""><font style="font-size:7pt" class="">Zennio Avance y Tecnología S.L le informa de los siguientes extremos:<br class="">Los datos por usted suministrados pasarán a formar parte de un fichero cuyo responsable es Zennio Avance y Tecnología S.L. Dicho fichero se encuentra legalmente inscrito en el Registro General de Protección de Datos de la Agencia Española de Protección de Datos. Los datos por usted suministrados serán empleados con fines de gestión, Zennio Avance y Tecnología S.L ha adoptado las medidas de seguridad exigidas en función del nivel de los datos suministrados, instalando las medidas técnicas y organizativas necesarias, habida cuenta del estado de la tecnología, a fin de evitar su pérdida, alteración, uso inadecuado o accesos no autorizados a los mismos.<br class="">Para el ejercicio de sus derechos de acceso, rectificación, cancelación y oposición deberá dirigirse a la dirección del Responsable de Fichero Zennio Avance y Tecnología S.L C/ Rio Jarama, 132. Nave P-8.11, 45007, TOLEDO o a la dirección de correo electrónico: </font></font></font><a href="mailto:info@zennio.com" target="_blank" class=""><font face="Arial, serif" class=""><font style="font-size:7pt" class="">info@zennio.com</font></font></a></div><div style="font-size: 12.8px; margin-bottom: 0.14in; line-height: 14.72px;" class=""><br class="webkit-block-placeholder"></div><div style="font-size: 12.8px; margin-top: 0.19in; margin-bottom: 0.19in; line-height: 14.72px;" class=""><img class=""><font color="#007700" style="font-size:12.8px" class=""><font face="Arial, serif" class=""><font style="font-size:9pt" class=""><span lang="en-US" class="">Please, consider the environment before printing this e-mail... </span></font></font></font><font color="#007700" style="font-size:12.8px" class=""><font face="Arial, serif" class=""><font style="font-size:9pt" class="">Save energy!</font></font></font></div><div style="font-size: 12.8px; margin-top: 0.19in; margin-bottom: 0.19in; line-height: 14.72px;" class=""><font color="#007700" style="font-size:12.8px" class=""><font face="Arial, serif" class=""><font style="font-size:9pt" class="">Por favor, piensa en el medio ambiente antes de imprimir este e-mail... </font></font></font><font color="#007700" style="font-size:12.8px" class=""><font face="Arial, serif" class=""><font style="font-size:9pt" class=""><span lang="en-US" class="">¡Ahorra energía!</span></font></font></font></div><div style="font-size: 12.8px; margin-top: 0.19in; margin-bottom: 0.19in; line-height: 14.72px;" class=""><font color="#666666" class=""><font face="Arial, serif" class=""><font style="font-size:7pt" class=""><span lang="en-US" class="">Disclaimer:<br class="">This message and any attached files transmitted with it, is confidential, especially as regards personal data. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient and have received this information in error or have accessed it for any reason, please notify us of this fact by email reply and then destroy or delete the message, refraining from any reproduction, use, alteration, filing or communication to third parties of this message and attached files on penalty of incurring legal responsibilities. The opinions contained in this message and the attached archives, belong exclusively to their sender and they do not represent the opinion of the company unless it is said specifically and the sender is authorized for it. The sender does not guarantee the integrity, the accuracy, the swift delivery or the security of this email transmission, and assumes no responsibility for any possible damage incurred through data capture, virus incorporation or any manipulation carried out by third parties.</span></font></font></font></div><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif" class=""></p><div style="font-size: 12.8px; margin-top: 0.19in; margin-bottom: 0.19in; line-height: 14.72px;" class=""><font color="#666666" class=""><font face="Arial, serif" class=""><font style="font-size:7pt" class="">Advertencia legal:<br class="">Este mensaje y, en su caso, los ficheros anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Las opiniones contenidas en este mensaje y en los archivos adjuntos, pertenecen exclusivamente a su remitente y no representan la opinión de la empresa salvo que se diga expresamente y el remitente esté autorizado para ello. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.</font></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">2018-05-15 13:37 GMT+02:00 Rick Jarvis <span dir="ltr" class=""><<a href="mailto:rick@magicmail.mooo.com" target="_blank" class="">rick@magicmail.mooo.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Now, I’m sure I’ve read about this somewhere, and now I need to do it, I can’t find it of course!<br class="">
<br class="">
Basically need to hand the user authentication off to another server, via https.<br class="">
<br class="">
Got this kind of thing working nicely in the dialplan using httapi, but can’t figure out how to do it for user registration? Needs to be real time, so exporting directory XML *to* FS isn’t going to do it.<br class="">
<br class="">
Any ideas?<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>