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

Michael Jerris mike at jerris.com
Sun May 1 21:43:26 MSD 2016


The issue isn't getting the file, it's playing it.  Nothing to do with it
being remote.

On Sunday, May 1, 2016, Pete Kay <petedao at gmail.com> 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:_e(%7B%7D,'cvml','0000000000 at 105.165.2.110');> 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 ~]#
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160501/37c1daec/attachment.html 


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