[Asterisk-Users] MP3Player problem -repost

Ryan Tucker rtucker at netacc.net
Mon Nov 17 15:52:27 MST 2003


On 17 Nov 2003 13:39:20 +0100, Areski <areski at e-group.org> wrote:
> I tried also to enter directly this instruction:
> mpg123 -w ki.wav http://digitaljukebox.com/Carta.mp3
> And I get :
> HTTP request failed: HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>
> The file exist, I get do a wget on it...
> Some ideas how to get it working ???

It looks like it's doing a redirect from digitaljukebox.com to 
www.digitaljukebox.com:

rtucker at shell:~$ telnet digitaljukebox.com 80
Trying 216.98.141.3...
Connected to 4h1413.aspadmin.net.
Escape character is '^]'.
HEAD /Carta.mp3 HTTP/1.0
Host: digitaljukebox.com

HTTP/1.1 302 Found
Date: Mon, 17 Nov 2003 22:48:25 GMT
Server: Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b 
PHP/4.0.6 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25
Location: http://www.digitaljukebox.com/Carta.mp3
Connection: close
Content-Type: text/html; charset=iso-8859-1

Connection closed by foreign host.

Try using www.digitaljukebox.com instead.  mpg123 has a simple mind and 
likes things to be simple HTTP-wise.  -rt

-- 
Ryan Tucker
Network Engineer
NetAccess, Inc.
1159 Pittsford-Victor Road
Bldg. 5, Suite 140
Pittsford, New York 14534
585-419-8200
www.netacc.net



More information about the asterisk-users mailing list