> Ah! Now this is actually something I've not been able to get my head around:
> 
>  > Note: As of Asterisk 1.2.0, Mpg123 is no longer used by Asterisk, which
>  > has its own MP3 player.
> 
> Can anybody tell me where this built-in MP3 player is in 1.2.x/how do I 
> use it ?
> 
> I still seem to have the usual two mpg123 processes running with 1.2.4, 
> with whatever music on hold is set in musiconhold.conf
> 
> I'm sure it is very obvious, but I can't for the life of me figure out 
> what I'm supposed to do to use the built-in MP3 player facilities.
> 
> 
> I just have the following in my musiconhold.conf:
> 
> [default]
> mode=mp3
> directory=/var/lib/asterisk/mohmp3
> random=yes

Since I just went through at least a part of the above, I think the
following might be an approach to consider.

Download 'asterisk-addons' (if you don't already have it).

cd /usr/src/asterisk-addons/format_mp3 and read the README file.

The 'make clean install'

Then, in /etc/asterisk/musiconhold.conf,
[default]
; mode=quietmp3
mode=files
directory=/var/lib/asterisk/mohmp3 

Stop and restart asterisk. mpg123 is no longer in use.

The above works just fine with the asterisk-provided musiconhold files
located in the above mohmp3 directory. If you add other mp3 files into
that directory, you might have to convert them per the README.


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to