In the archives you will find comments on mpg321 not being a drop in
replacement for mpg123. 
http://www.google.com/search?q=mpg321+site%3Amarko.net

On Sun, 2003-03-02 at 10:37, Lenny Tropiano / asterisk.org Mailing list
wrote:
> I have the following in extensions.conf:
> 
> [global]
> MP3ROOT=/var/lib/asterisk/mohmp3
> 
> [default]
> exten => 1111,1,Answer                  ; Answer the line
> exten => 1111,2,DigitTimeout,5          ; Set Digit Timeout to 5 seconds
> exten => 1111,3,MP3Player(${MP3ROOT}/sample-hold.mp3)
> 
> The command that runs is:
> 
> 14030 pts/0    S      0:00 /usr/bin/mpg123 -q -s -b 1024 --mono -r 8000 
> /var/lib/asterisk/mohmp3/sample-hold.mp3
> 
> I hear distorted or very slowed down audio.  Unintelligble.  (Apparently mpg123 on 
> this distribution is really
> mpg321 (replacement)).
> 
> I run the command:
> 
> /usr/bin/mpg123 -q -s -b 1024 --mono -r 8000 
> /var/lib/asterisk/mohmp3/sample-hold.mp3 -w sample.wav
> 
> And the wav file plays just fine.
> 
> Also I'm having trouble getting the MOH working, I uncommented this line in music:
> 
> random => quietmp3:/var/lib/asterisk/mohmp3,-z
> 
> And this process is always running:
> 
> 13538 pts/0    S      0:00 /usr/bin/mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 -z 
> sample-hold.mp3
> 
> When I'm put on hold by an extension, I don't hear anything.    Am I missing 
> something else?
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to