[Freeswitch-users] mod_xml_curl and basic authentication

MEHDi CHAABOUNi mehdi.chaabouni at gmail.com
Mon Nov 10 09:17:24 PST 2008


I've just analyzed the header of the HTTP request made by Freeswitch,
there's no Authorization section like
"Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=="

it could be a bug

On Sun, Nov 9, 2008 at 8:39 PM, MEHDi CHAABOUNi
<mehdi.chaabouni at gmail.com>wrote:

> Hi,
>
>
> I'm trying to fetch a dialplan using mod_xml_curl.
> The problem is that I can't get it to work when basic authentication is
> enabled in my webapp.
> I think that FS is not sending the Authentication in the header when making
> requests.
>
> Am I missing something? Is there something else that I should set beside
> adding the following line to the file "xml_curl.conf.xml"
> <param name="gateway-credentials" value="username:password"/>
>
> here's my "xml_curl.conf.xml":
> <configuration name="xml_curl.conf" description="cURL XML Gateway">
>   <bindings>
>     <binding name="dialplan fetcher">
>       <param name="gateway-url" value="http://localhost:8080/dialplan"
> bindings="dialplan"/>
>       <param name="gateway-credentials" value="root:root"/>
>     </binding>
>   </bindings>
> </configuration>
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081110/c8077e56/attachment-0002.html 


More information about the FreeSWITCH-users mailing list