<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Well, I think I found the problem, but
I still don'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?<br>
<br>
<br>
On 10/05/2012 11:06 AM, Leonardo N. S. Pereira wrote:<br>
</div>
<blockquote cite="mid:506EE95F.10307@daitangroup.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix"><font face="Helvetica, Arial,
sans-serif">I had no lucky trying to set the "ext" and/or "ua"
:-(<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
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://%28ext=mp3,ua=%27AppleWebKit/537.13%27%29catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D">http://(ext=mp3,ua='AppleWebKit/537.13')catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&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
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D">http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&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 cite="mid:506DF2BB.3010801@daitangroup.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Helvetica, Arial, sans-serif">Hi.<br>
I'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://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D</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
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sofia/external/+15752222222@67.231.8.195">sofia/external/+15752222222@67.231.8.195</a>
Command Execute playback(<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&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">15752222222</font>@67.231.8.195
playback(<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&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
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D">http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D</a>]
<font color="#ff0000">is unreachable</font>!</font><br>
</blockquote>
<br>
If I use the Browser with same URL, I'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>
</body>
</html>