[Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud
Leonardo N. S. Pereira
leonardo at daitangroup.com
Fri Oct 5 18:06:23 MSD 2012
I had no lucky trying to set the "ext" and/or "ua" :-(
This is one of the command I tried via socket interface:
api uuid_broadcast e75e6d4e-732f-4385-962a-0e4b9038d940
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
both
This is the log:
2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing
variable [ext]=[mp3]
2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing
variable [ua]=[AppleWebKit/537.13]
2012-10-05 14:03:43.953669 [ERR] mod_httapi.c:2545 File at url
[http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D]
is unreachable!
The URL should be reachable now, in case you want to give it a try.
Thanks in advance again,
Leonardo
On 10/04/2012 05:34 PM, Leonardo N. S. Pereira wrote:
> Hi.
> I'm having problem when trying to play an audio hosted in S3 Amazon cloud
> The MP3 URL is:
> /
> /
>
> /h//ttp://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D/
>
> The result is:
>
> 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605
> sofia/external/+15752222222 at 67.231.8.195 Command Execute
> playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D)
> EXECUTE sofia/external/+15752222222 at 67.231.8.195
> playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D)
> 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url
> [http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D]
> is unreachable!
>
>
> If I use the Browser with same URL, I'm able to listen to the sample
> audio.
>
> Any idea about what is wrong?
>
> Thanks in advance,
> Leonardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/e268027b/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list