[asterisk-users] Replacing mpg123 with madplay under Solaris?
Ken Godee
ken at perfect-image.com
Fri Sep 29 08:23:29 MST 2006
> I'm running Asterisk 1.2.12.1 on a Solaris 10 box. I've built mpg123
> but it doesn't want to play well under Solaris so I want to replace it
> madplay.
>
> I've edited app/app_mp3.c and res/res_musiconhold.c to change the calls
> for mpg123 to madplay with the appropriate options.
>
I'm using a little older version of asterisk with Madplay, but
is it not still configured the same way, through the......
"musiconhold.conf"
;
; Music on hold class definitions
;
[classes]
default => custom:/var/lib/asterisk/mohmp3/,/usr/local/bin/madplay -Q
--attenuate=-5 --mono -R 8000 --output=RAW:-
iron2 => custom:/var/lib/asterisk/iron2/,/usr/local/bin/madplay -Q -z
--attenuate=-25 --fade-in --mono -R 8000 --output=RAW:-
More information about the asterisk-users
mailing list