How to Fix Problem Upload Music on Hold in FreePBX

I was install Asterisk now 1.5 with Freepbx 2.5.1.5.
I try upload mp3 file to music on hold.
I choose file and click upload, after some second my web page say some reason:

Error Processing: “sh: mpg123: command not found
sox: Can’t open input file ‘/var/lib/asterisk/mohmp3/orig_november_rain.mp3′: No such file or directory” for
november_rain.mp3!
This is not a fatal error, your Music on Hold may still work.

and to fix this problem, i tryto make a directory :

/var/lib/asterisk$ mkdir mohmp3
/var/lib/asterisk$ chown asterisk.asterisk mohmp3
/var/lib/asterisk$ chmod 775 mohmp3

after that, i can upload my music file to freepbx

Popular Tags for the article:

Error Processing: sh: mpg123: command not found, sh: mpg123: command not found, trixbox Do not understand format type: mp3, freepbx music on hold, Do not understand format type: mp3, sh: sox: command not found, freepbx moh, Cant open input file /var/lib/asterisk/mohmp3, trixbox sox: Failed reading, asterisk Error Processing: sh: mpg123: command not found, mpg123 freepbx, Error Processing: High Performance MPEG 1 0/2 0/2 5 Audio Player for Layers 1 2 and 3, rror Processing: sh: mpg123: command not found, sox: Cant open input file /var/lib/asterisk/mohmp3/, mpg123: command not found

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • BlinkList
  • blogmarks
  • Blogosphere News
  • connotea
  • LinkaGoGo
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
  • Webnews.de
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Related posts:

  1. Tips Default Asterisk Manager Password Used
  2. Tips to Use The Phone Line from Between Two Different Servers FreePBX
  3. How to Setup IP Phone SPA901 and SPA921
  4. Problem with No trunks in FOP
  5. How to Make Your USB Drive Hardware Secure

One Response to “How to Fix Problem Upload Music on Hold in FreePBX”

  1. Samuel Says:

    i did this..

    yum install mpg123.i386

    and now the error is this..

    Error Processing: “High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
    version 1.3.1; written and copyright by Michael Hipp and others
    free software (LGPL/GPL) without any warranty but with best wishes

    Directory: /var/lib/asterisk/mohmp3/
    Playing MPEG stream 1 of 1: orig_down_under.mp3 …
    Title: Down Under Artist: Men At Work
    Comment: Album: 100 80’s Hits
    Year: 2008 Genre: Pop
    MPEG 1.0 layer III, VBR, 44100 Hz joint-stereo

    [3:41] Decoding of orig_down_under.mp3 finished.
    sox: Failed reading /var/lib/asterisk/mohmp3/orig_down_under.mp3: Do not understand format type: mp3
    ” for down_under.mp3!
    This is not a fatal error, your Music on Hold may still work.

    it works.. but create 2 files um *.mp3 and 1 *.wav

Leave a Reply