[Freeswitch-users] Problem with Playback wav from remote server

Michael Jerris mike at jerris.com
Mon May 2 00:34:42 MSD 2016


Hahahaha, I missed that, that's hilarious

On Sunday, May 1, 2016, Vallimamod Abdullah <vma at 440hz.fr> wrote:

> Hi,
>
> Actually, you don’t get the file, you are redirected to a login page
> http://105.165.2.110/auth/login:
>
> > Location: http://105.165.2.110/auth/login [following]
> > --2016-05-01 10:15:42--  http://105.165.2.110/auth/login
> > Connecting to 105.165.2.110:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 5773 (5.6K) [text/html]
> > Saving to: `m79eVzDuH6_61.wav’
>
> Your .wav file is a html page actually, which obviously cannot be played.
>
>> Best Regards,
> Vallimamod
> .
>
> > On 01 May 2016, at 12:45, Pete Kay <petedao at gmail.com <javascript:;>>
> wrote:
> >
> > Hi
> >
> > I am able to playback a remote mp3 but not a remote .wav file.
> >
> > I am getting strange error.  Could someone please guide me how to
> resolve it?
> >
> >
> > freeswitch at server3> 2016-05-01 10:37:07.751782 [DEBUG]
> mod_httapi.c:2631 caching: url:
> http://105.165.2.110/voice/m79eVzDuH6_61.wav to
> /usr/local/freeswitch/storage/http_file_cache/c8691a860ba4ddc0b18a39d3768add75.wav
> (5773 bytes)
> > 2016-05-01 10:37:07.771763 [ERR] mod_sndfile.c:204 Error Opening File
> [/usr/local/freeswitch/storage/http_file_cache/c8691a860ba4ddc0b18a39d3768add75.wav]
> [File contains data in an unknown format.]
> > 2016-05-01 10:37:07.771763 [ERR] mod_httapi.c:2971 Invalid cache file
> /usr/local/freeswitch/storage/http_file_cache/c8691a860ba4ddc0b18a39d3768add75.wav
> opening url 105.165.2.110/voice/m79eVzDuH6_61.wav Discarding file.
> > 2016-05-01 10:37:07.771763 [DEBUG] sofia.c:6755 Channel sofia/internal/
> 0000000000 at 105.165.2.110 <javascript:;> entering state [early][183]
> >
> > Here it shows that I can "get" the .wav no problem.
> >
> > [root@ server3 ~]# wget http://105.165.2.110/voice/m79eVzDuH6_61.wav
> > --2016-05-01 10:15:42--  http://105.165.2.110/voice/m79eVzDuH6_61.wav
> > Connecting to 105.165.2.110:80... connected.
> > HTTP request sent, awaiting response... 302 Found
> > Location: http://105.165.2.110/auth/login [following]
> > --2016-05-01 10:15:42--  http://105.165.2.110/auth/login
> > Connecting to 105.165.2.110:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 5773 (5.6K) [text/html]
> > Saving to: `m79eVzDuH6_61.wav'
> >
> >
> 100%[================================================================================================================================================>]
> 5,773       --.-K/s   in 0s
> >
> > 2016-05-01 10:15:42 (483 MB/s) - `m79eVzDuH6_61.wav' saved [5773/5773]
> >
> > [root@ server3 ~]# ls -al *.wav
> > -rw-r--r-- 1 root root 5773 May  1 10:15 m79eVzDuH6_61.wav
> > [root at server3 ~]#
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <javascript:;>
> 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 <javascript:;>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160501/681436c9/attachment.html 


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