[Asterisk-Users] MP3Player could not play remote stream

Phuong Nguyen ducphuong at gmx.de
Thu Jun 2 23:08:02 MST 2005


Hi all,

I could use MP3Player to play local sound (e.g: /usr/sound/abc.mp3) but I
could not use it to run a remote stream, if I use mpg123 in command line, I
can hear the audio ( /usr/bin/mpg123 http://...), but the same remote mp3
file could not be replay with asterisk.

I would appreciate with any suggestion.

Phuong

Here are the log message:


  -- Starting simple switch on 'Zap/3-1'
Jun  2 16:28:46 NOTICE[3129]: chan_zap.c:5374 ss_thread: Got event 2
(Ring/Answered)...
    -- Executing Answer("Zap/3-1", "") in new stack
    -- Executing MP3Player("Zap/3-1", "http://localhost:8000/") in
new stack
Jun  2 16:28:57 NOTICE[3129]: app_mp3.c:91 timed_read: Poll timed
out/errored
out with 0
    -- Executing Goto("Zap/3-1", "mainmenu|s|1") in new stack
    -- Goto (mainmenu,s,1)
    -- Executing Answer("Zap/3-1", "") in new stack
    -- Executing MP3Player("Zap/3-1", "http://localhost:8000/") in
new stack


extension.conf: (URL is point to a stream server and it works with command
line mpg123!)
exten => s,2,MP3Player(http://localhost:8000/)



-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++



More information about the asterisk-users mailing list