<div dir="ltr">I've just analyzed the header of the HTTP request made by Freeswitch, there's no Authorization section like<br>"Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=="<br><br>it could be a bug<br>
<br><div class="gmail_quote">On Sun, Nov 9, 2008 at 8:39 PM, MEHDi CHAABOUNi <span dir="ltr"><<a href="mailto:mehdi.chaabouni@gmail.com">mehdi.chaabouni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br><br>I'm trying to fetch a dialplan using mod_xml_curl.<br>The problem is that I can't get it to work when basic authentication is enabled in my webapp.<br>I think that FS is not sending the Authentication in the header when making requests.<br>
<br>Am I missing something? Is there something else that I should set beside adding the following line to the file "xml_curl.conf.xml"<br><param name="gateway-credentials" value="username:password"/><br>
<br>here's my "xml_curl.conf.xml":<br><configuration name="xml_curl.conf" description="cURL XML Gateway"><br> <bindings><br> <binding name="dialplan fetcher"><br>
<param name="gateway-url" value="<a href="http://localhost:8080/dialplan" target="_blank">http://localhost:8080/dialplan</a>" bindings="dialplan"/><br> <param name="gateway-credentials" value="root:root"/><br>
</binding><br> </bindings><br></configuration><br><br>Thanks<br></div>
</blockquote></div><br></div>