[Asterisk-Users] mp3 playing distorted, or very slowed down...
unintelligible.
Martin Pycko
martinp at digium.com
Sun Mar 2 12:30:17 MST 2003
Make sure that you have in zapata.conf
musiconhold=random
regards
Martin
On Sun, 2 Mar 2003, 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list