Asterisk 1.2.18 - MP3 music on hold - Unable to open file

Hi all!

The throuble

agatha-10*CLI> -- Executing Answer("SIP/fpiraneo-0a011108", "") in new stack -- Executing SetMusicOnHold("SIP/fpiraneo-0a011108", "default") in new stack -- Executing WaitMusicOnHold("SIP/fpiraneo-0a011108", "20") in new stack -- Started music on hold, class 'default', on SIP/fpiraneo-0a011108 May 12 18:13:46 WARNING[4050]: file.c:517 ast_openstream_full: File /var/lib/asterisk/mohmp3/Floating8 does not exist in any format May 12 18:13:46 WARNING[4050]: res_musiconhold.c:232 ast_moh_files_next: Unable to open file '/var/lib/asterisk/mohmp3/Floating8': No such file or directory -- Stopped music on hold on SIP/fpiraneo-0a011108 == Spawn extension (iface, 910, 3) exited non-zero on 'SIP/fpiraneo-0a011108'

Obiouvsly I installed the Astersik Addons; the .WAV file plays great.


[default] mode=files directory=/var/lib/asterisk/mohmp3/ random=yes

Has someone any idea?
Thanks a lot!


I have also had this problem… suggestions?

You need the format_mp3 module. You can get it in the asterisk-addons package.
Check out this Link