[Freeswitch-users] freeswitch stream remote audio file
Yosi Taguri
yosi at taguri.com
Sun Aug 24 22:29:27 MSD 2014
how did you generate the link?
On Sun, Aug 24, 2014 at 9:00 PM, Snabel Kabiya <snabel at lexifone.com> wrote:
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com <http://ahhhpah.com>
| Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 |
Email: yosi at taguri.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140824/2ffc0298/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list