[Asterisk-Users] mp3 to gsm?

Aaron Johnson ajohnson at starnetworks.us
Tue Feb 22 10:37:30 MST 2005


Muhammad Muzzamil Luqman wrote:

> i have got a music file with extension mp3 and it is not workign with 
> background()

First off, why are you trying to background an MP3?  If you are 
backgrounding music, then you should probably be using Music on Hold.  
If you are using mp3's for audio prompts in an auto attendant, don't.  
There are many other ways that are significantly less resource 
intensive.  Second, to anyone who has done any research about Asterisk, 
the answer as to why it is not working is blindingly obvious.

If you were really trying to do music on hold,

http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20MusicOnHold
.
If you want MoH to play MP3 files,

http://www.voip-info.org/tiki-index.php?page=mpg123

> is there any way to convert the mp3 to gsm or any other codec?

http://www.voip-info.org/tiki-index.php?page=Asterisk%20sound%20files

http://www.voip-info.org/tiki-index.php?page=Convert%20WAV%20audio%20files%20for%20use%20in%20Asterisk

-- 
Aaron Johnson
Star Networks
Main: 602-889-3000 | Office: 602-889-3002 | Cell: 602-741-4660




More information about the asterisk-users mailing list