Hi, Iam running debian etch on thecus n2100 (Xscale 80219) I do not have MoH because standard mpg123 gives only loud noise. I can not compile mpg123 from asterisk because of option -m486. Any way to get MoH running on this board.
Thomas Winter wrote:> Hi, > Iam running debian etch on thecus n2100 (Xscale 80219) > I do not have MoH because standard mpg123 gives only loud noise. > > I can not compile mpg123 from asterisk because of option -m486. > > Any way to get MoH running on this board.What version of Asterisk? Asterisk 1.0.x MoH requires mpg123 v0.59r. Asterisk 1.2.x does not support MP3 MoH without mpg123 0.59r or MP3 support from asterisk-addons. Non-MP3 MoH is supported without any additional software. Same goes for Asterisk 1.4.x.
On Saturday 10 November 2007 20:40, Eric "ManxPower" Wieling wrote:> Thomas Winter wrote: > > Hi, > > Iam running debian etch on thecus n2100 (Xscale 80219) > > I do not have MoH because standard mpg123 gives only loud noise. > > > > I can not compile mpg123 from asterisk because of option -m486. > > > > Any way to get MoH running on this board. > > What version of Asterisk?V 1.2 can not compile mpg123 v0.59r.
On Sat, Nov 10, 2007 at 01:40:23PM -0600, Eric ManxPower Wieling wrote:> Thomas Winter wrote: > > Hi, > > Iam running debian etch on thecus n2100 (Xscale 80219) > > I do not have MoH because standard mpg123 gives only loud noise. > > > > I can not compile mpg123 from asterisk because of option -m486. > > > > Any way to get MoH running on this board. > > What version of Asterisk? > > Asterisk 1.0.x MoH requires mpg123 v0.59r.To be more specific, if you do use mpg123, just use any recent version. For a long time the development of mpg123 has stalled and a number of buggy versions were around. The version of mpg123 in Etch should owrk well.> > Asterisk 1.2.x does not support MP3 MoH without mpg123 0.59rActually: it does. But usually it makes much more sense to use native music on hold. And using mp3-s for music on hold (rather than transcoding them off-line makes sense only if you want to stream music directly from an external source. Otherwise your wasting CPU cycles. $ cat /usr/local/bin/make_ast_wav #!/bin/sh for src in "$@"; do base=`echo $src | rev | cut -d. -f2-| rev` sox $src -w -c 1 -r 8000 $base.wav done> or MP3 > support from asterisk-addons. Non-MP3 MoH is supported without any > additional software. Same goes for Asterisk 1.4.x.Right. This is if you want to play mp3 files for native moh files. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Sunday 11 November 2007 01:38, Tzafrir Cohen wrote:> On Sat, Nov 10, 2007 at 01:40:23PM -0600, Eric ManxPower Wieling wrote: > > Thomas Winter wrote: > > > Hi, > > > Iam running debian etch on thecus n2100 (Xscale 80219) > > > I do not have MoH because standard mpg123 gives only loud noise. > > > > > > I can not compile mpg123 from asterisk because of option -m486. > > > > > > Any way to get MoH running on this board. > > > > What version of Asterisk? > > > > Asterisk 1.0.x MoH requires mpg123 v0.59r. > > To be more specific, if you do use mpg123, just use any recent version. > For a long time the development of mpg123 has stalled and a number of > buggy versions were around. The version of mpg123 in Etch should owrk well.I have systems with high CPU load with mpg123 from etch, no problems with mpg123 v0.59r at all. I see, on this board I can only use wav for playing MoH thanks...