Not on the version you have but if you update to latest GIT HEAD you could try a patch that adds a nohead=true param you can set in the same place you set ua and ext that should skip over the head check.<div><br></div><div>
Really its a bug for amazon that they don&#39;t let you do cache-control properly.</div><div><br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 11:35 AM, Leonardo N. S. Pereira <span dir="ltr">&lt;<a href="mailto:leonardo@daitangroup.com" target="_blank">leonardo@daitangroup.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Well, I think I found the problem, but
      I still don&#39;t know how to fix it.<br>
      The problem is that the HTTP request to Amazon is going with the
      method HEAD instead of GET. <br>
      Is there a way to force mod_httapi to use GET?<div><div class="h5"><br>
      <br>
      <br>
      On 10/05/2012 11:06 AM, Leonardo N. S. Pereira wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div><font face="Helvetica, Arial,
          sans-serif">I had no lucky trying to set the &quot;ext&quot; and/or &quot;ua&quot;
          :-(<br>
          This is one of the command I tried via socket interface:<br>
          <br>
        </font>
        <blockquote><font face="Helvetica, Arial, sans-serif">api
            uuid_broadcast e75e6d4e-732f-4385-962a-0e4b9038d940 <a href="http://%28ext=mp3,ua=%27AppleWebKit/537.13%27%29catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D" target="_blank">http://(ext=mp3,ua=&#39;AppleWebKit/537.13&#39;)catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D</a>
            both</font><br>
        </blockquote>
        <font face="Helvetica, Arial, sans-serif"><br>
          This is the log:<br>
          <br>
        </font>
        <blockquote><font face="Helvetica, Arial, sans-serif">2012-10-05
            14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable
            [ext]=[mp3]</font><br>
          <font face="Helvetica, Arial, sans-serif">2012-10-05
            14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable
            [ua]=[AppleWebKit/537.13]</font><br>
          <font face="Helvetica, Arial, sans-serif">2012-10-05
            14:03:43.953669 [ERR] mod_httapi.c:2545 File at url [<a href="http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D" target="_blank">http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D</a>]
            is unreachable!</font><br>
        </blockquote>
        <font face="Helvetica, Arial, sans-serif">The URL should be
          reachable now, in case you want to give it a try.<br>
          Thanks in advance again,<br>
          Leonardo<br>
        </font><br>
        <br>
        On 10/04/2012 05:34 PM, Leonardo N. S. Pereira wrote:<br>
      </div>
      <blockquote type="cite">
        
        <font face="Helvetica, Arial, sans-serif">Hi.<br>
          I&#39;m having problem when trying to play an audio hosted in S3
          Amazon cloud<br>
          The MP3 URL is:<br>
          <i><br>
          </i></font>
        <blockquote><font face="Helvetica, Arial, sans-serif"><i>h</i><i>ttp://<a href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D" target="_blank">test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D</a></i></font><br>

        </blockquote>
        The result is:<br>
        <br>
        <blockquote><font face="Helvetica, Arial, sans-serif">2012-10-04
            20:27:28.891298 [DEBUG] switch_ivr.c:605 <a href="mailto:sofia/external/+15752222222@67.231.8.195" target="_blank">sofia/external/+15752222222@67.231.8.195</a>
            Command Execute playback(<a href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D" target="_blank">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D</a>)</font><br>

          <font face="Helvetica, Arial, sans-serif">EXECUTE
            sofia/external/+</font><font face="Helvetica, Arial,
            sans-serif"><font face="Helvetica, Arial, sans-serif"><a href="tel:15752222222" value="+15752222222" target="_blank">15752222222</a></font>@<a href="http://67.231.8.195" target="_blank">67.231.8.195</a>

            playback(<a href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D" target="_blank">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D</a>)</font><br>

          <font face="Helvetica, Arial, sans-serif">2012-10-04
            20:27:28.903180 [ERR] mod_httapi.c:2545 File at url [<a href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D" target="_blank">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&amp;AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&amp;Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D</a>]
            <font color="#ff0000">is unreachable</font>!</font><br>
        </blockquote>
        <br>
        If I use the Browser with same URL, I&#39;m able to listen to the
        sample audio.<br>
        <br>
        Any idea about what is wrong?<br>
        <br>
        Thanks in advance,<br>
        Leonardo<br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>