[Asterisk-Users] still some moh troubles

Doug Lytle Support at drdos.info
Thu Apr 20 05:09:25 MST 2006


Bart van Daal wrote:
> Hi,
>
> After following the suggestions on the mailing lists and the wiki I'm still
> experiencing
> choppy moh. The song plays but with frequent noise parts.
>
> - I'm using asterisk 1.2.4 on our production server and 1.2.7 on the test
> server.
> - native moh with .gsm and .pcm formats (according to
>   

Actually, you'll want to use ulaw for Native MOH.

--------CUT


#!/bin/sh

for filename in *mp3

do

eval filename=`echo $filename | cut -f1 -d.`

echo Converting $filename

sox -V $filename.mp3 -t au -r 8000 -U -b -c 1 $filename.ulaw resample -ql

done

--------CUT

Doug




More information about the asterisk-users mailing list