freeswitch stream remote audio file
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@devel..."; 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@devel...] <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
how did you generate the link? On Sun, Aug 24, 2014 at 9:00 PM, Snabel Kabiya <snabel@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@devel..."; 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@devel...] <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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@taguri.com
participants (2)
-
Snabel Kabiya
-
Yosi Taguri