[asterisk-users] mpg123 on Thecus N2100
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Nov 10 18:38:01 CST 2007
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.59r
Actually: 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
More information about the asterisk-users
mailing list