<div dir="ltr">The problem is caused by the plugin I'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"><<a href="mailto:mike@jerris.com">mike@jerris.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 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'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" target="_blank">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></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>