[Freeswitch-users] freeswitch stream remote audio file

Snabel Kabiya snabel at lexifone.com
Sun Aug 24 22:00:15 MSD 2014


Hi,

I'm saving the remote audio files on google cloud storage. i want to play
these files in freeswitch.

when i use: mediaLink = "http://storage.googleapis.com/myBucket/file.wav";

session:streamFile(mediaLink);

*it works great.*

But when i use signed urls

mediaLink = "
http://storage.googleapis.com/myBucket/file.wav?GoogleAccessId=xxx-xxx@developer.gserviceaccount.com&Expires=1408903962590&Signature=xxb%2Fx%2FDfGJlrUuz0%2F6kA6ormmReW6oN%2F0xxy3%2BwWxXc%3D";
session:streamFile(mediaLink);

*i get this error:*

*2014-08-24 20:42:48.770818 [ERR] mod_httapi.c:2696 File at url
[http://storage.googleapis.com/myBucket/file.wav?GoogleAccessId=xxx-xxx@developer.gserviceaccount.com&Expires=1408903962590&Signature=xxb%2Fx%2FDfGJlrUuz0%2F6kA6ormmReW6oN%2F0xxy3%2BwWxXc%3D]
<http://storage.googleapis.com/myBucket/file.wav?GoogleAccessId=xxx-xxx@developer.gserviceaccount.com&Expires=1408903962590&Signature=xxb%2Fx%2FDfGJlrUuz0%2F6kA6ormmReW6oN%2F0xxy3%2BwWxXc%3D]>
is
unreachable!*


is there a special characters issue in the link?


Thanks,

Snabel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140824/4989e8d2/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list