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:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to