[Asterisk-Users] mp3player not working

Christopher Lee chris at datachaos.com.au
Wed Jan 21 18:17:45 MST 2004


Hi,

 

I'm running the latest Asterisk (built last Saturday) and can't get mp3's to
playback on my handsets (this includes music on hold).

 

I setup a couple of extensions, 901 and 902 to playback an mp3 I loaded on,
and the sample moh that is included with Asterisk.

 

When I attempt to call either extension I don't hear any sound, and the
following displays on the console:

 

    -- Executing Answer("SIP/931-0efa", "") in new stack

    -- Executing Wait("SIP/931-0efa", "1") in new stack

    -- Executing MP3Player("SIP/931-0efa",
"/var/lib/asterisk/mohmp3/sample-hold

.mp3") in new stack

Jan 22 11:12:32 WARNING[442386]: rtp.c:375 ast_rtp_read: RTP Read error:
Resourc

e temporarily unavailable

Jan 22 11:12:35 NOTICE[442386]: app_mp3.c:93 timed_read: Selected timed
out/erro

red out with 0

    -- Executing Wait("SIP/931-0efa", "20") in new stack

  == Spawn extension (local, 902, 4) exited non-zero on 'SIP/931-0efa'

 

The IP phones I'm using are Cisco 7940 running G.729a. I have successfully
licenced and registered 2x channels of g729 codec (running the
new_codec_binary from ftp.digium.com <ftp://ftp.digium.com/> ) today, and
have no problems checking my voicemail on Asterisk or dialing out through
IAXtel or receiving calls.

 

Even when I was running g711ulaw codec on the phones I had the same problem.
Is there another dependency that is required for mp3playback in Linux? Is a
soundcard required?

 

My Linux box is running Slackware Linux 9.1. 

 

Any help to point me in the right direction to getting mp3playback and my
music on hold working would be greatly appreciated.

 

Thanks in advance,

Chris Lee

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040121/a9950c97/attachment.htm


More information about the asterisk-users mailing list