[Asterisk-Users] MP3Player

Jan Boon jan.boon at zonnet.nl
Mon Jun 2 23:19:16 MST 2003


Hi all,

Maybe something is wrong with my mpg123 (0.59r). When I make a wav file of sample-hold.mp3 with mpg123 -w x.wav -r 8000 sample-hold.mp3 I see that the 28 seconds of the original clip has been shortened to half of it (14 seconds). The sound recorder is playing recorded wav files fine but I hear nothing of the wav file generated by mpg123.  

Hope to hear some clues.

Regards Jan.
  ----- Original Message ----- 
  From: Jan Boon 
  To: asterisk-users at lists.digium.com 
  Sent: Monday, June 02, 2003 8:11 PM
  Subject: [Asterisk-Users] MP3Player


  Hi all,

  Here another guy working with ztdummy and having problems with music. 
  MP3Player does not work for me both from a telephone entering through a passive ISDN-adapter as well as a SIP-client in the LAN. Ztdummy works with conferences.

  Here are my messages.
  I have seen several discussion threads in the mail-archive regarding this subject, but could not find an answer.

  Is this something I have to do without without Zaptel devices?

      -- Executing BackGround("Modem[i4l]/ttyI0", "demo-instruct") in new stack
      -- Playing 'demo-instruct'
      -- Executing MP3Player("Modem[i4l]/ttyI0", "/var/lib/asterisk/mohmp3/sample-hold.mp3") in new stack
  NOTICE[73738]: File app_mp3.c, Line 80 (timed_read): Selected timed out/errored out with 0
      -- Timeout on Modem[i4l]/ttyI0
      -- Hungup 'Modem[i4l]/ttyI0'
      -- Registered SIP '' at 192.168.17.101 port 12308 expires 1200
      -- Executing Ringing("SIP/1101-adfc", "") in new stack
      -- Executing Answer("SIP/1101-adfc", "") in new stack
      -- Executing MP3Player("SIP/1101-adfc", "/var/lib/asterisk/mohmp3/sample-hold.mp3") in new stack
  WARNING[90122]: File rtp.c, Line 288 (ast_rtp_read): RTP Read error: Resource temporarily unavailable
  NOTICE[90122]: File app_mp3.c, Line 80 (timed_read): Selected timed out/errored out with 0
      -- Timeout on SIP/1101-adfc
      -- Executing Hangup("SIP/1101-adfc", "") in new stack
     
  Regards Jan.

  PS. How can I play a MP3-file through my speakers with mpg123? I have Alsa and OSS-emulation. MPlayer and Xine do this real fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030603/06a5b7e3/attachment.htm


More information about the asterisk-users mailing list