In asterisk source directory - you can run ./configure and then make menuselect
In make menuselect - you will see modules etc - and also if some module cant be enabled - which dependencies you have to solve, after solving - again ./configure and make menuselect
Now, I do only find one mp3 related option that is in Applications app_mp3
With this I may define moh classes with mode=mp3 and it plays mp3 music.
But the problem is that Playback(mymp3file) does not work, so I suppose that app_mp3 is not enough and I would need format_mp3. The thing is that I may not find any othere option related to mp3 in the menuselect. I looked in “Format Interpreters” but there is no format_mp3.
**************************************************
Asterisk Module and Build Option Selection
**************************************************
Press 'h' for help.
Applications
Call Detail Recording
Channel Drivers
Codec Translators
Format Interpreters
Dialplan Functions
PBX Modules
Resource Modules
Test Modules
Compiler Flags
Voicemail Build Options
Module Embedding
Core Sound Packages
Music On Hold File Packages
---> Extras Sound Packages
Where should I go to set elements of the asterisk-addons package ? Or do I have to do something else in order to install the asterisk-addons package? It’s the first time I hear about it (beginner as I am ), thanks a lot for any further hint …
Asterisk-addons is a separate package. You can download it from downloads.asterisk.org/pub/telephony/asterisk/. It contains format_mp3, chan_mobile and some other things that aren’t part of the actual asterisk release.
First, you need to extract and build asterisk. When you’ve done that, you should be able to build the addons. I use chan_mobile out of the addons package and here’s how I build it.
./configure --with-asterisk=/usr/src/asterisk --enable-dev-mode
make menuselect
make
make install
make samples
Note: Change /usr/src/asterisk to point to the location where you built asterisk.
Asterisk supports raw files, which also draws less CPU power, I have only used it for music on hold, but the files are being played without extra modules.