<div dir="ltr">The problem is caused by the plugin I&#39;m using in my webapp (GRAILS+ACEGI) which is not challenging the post with a 401 response.<br><br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 2:59 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</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 style="">How about in the response, typically the server would challenge for auth creds.<div>
<br></div><div>Mike</div><div><br><div><div><div></div><div class="Wj3C7c"><div>On Nov 10, 2008, at 12:17 PM, MEHDi CHAABOUNi wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c"><div dir="ltr">
I&#39;ve just analyzed the header of the HTTP request made by Freeswitch, there&#39;s no Authorization section like<br>&quot;Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==&quot;<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">&lt;<a href="mailto:mehdi.chaabouni@gmail.com" target="_blank">mehdi.chaabouni@gmail.com</a>&gt;</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&#39;m trying to fetch a dialplan using mod_xml_curl.<br>The problem is that I can&#39;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 &quot;xml_curl.conf.xml&quot;<br>&lt;param name=&quot;gateway-credentials&quot; value=&quot;username:password&quot;/&gt;<br>
 <br>here&#39;s my &quot;xml_curl.conf.xml&quot;:<br>&lt;configuration name=&quot;xml_curl.conf&quot; description=&quot;cURL XML Gateway&quot;&gt;<br>&nbsp; &lt;bindings&gt;<br>&nbsp;&nbsp;&nbsp; &lt;binding name=&quot;dialplan fetcher&quot;&gt;<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://localhost:8080/dialplan" target="_blank">http://localhost:8080/dialplan</a>&quot; bindings=&quot;dialplan&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;gateway-credentials&quot; value=&quot;root:root&quot;/&gt;<br>
 &nbsp;&nbsp;&nbsp; &lt;/binding&gt;<br>&nbsp; &lt;/bindings&gt;<br>&lt;/configuration&gt;<br><br>Thanks<br></div> </blockquote></div><br></div></div></div> _______________________________________________<br>Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>