Displaying 20 results from an estimated 3000 matches similar to: "No Audio from Console but mpg123 from shell worksfine."
2005 Oct 14
0
No Audio from Console but mpg123 from shell works fine.
I get audio from mpg123 at the command line but when I load up asterisk
and try to get audio from the console it looks like it's working, and
even pauses like it is playing the file but there is no audio coming
from the speakers.
I have searched and looked through the archives and tried to fix this
but I have had no success. This is an onboard Intel card (AC'97) and I
also tried an SB
2005 Jul 13
5
CONSOLE/dsp
I'm trying to create an extension that will connect caller to asterisk sound card. I've followed the example at http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+console. With no luck.
What I get is:
Jul 13 09:56:45 VERBOSE[1315]: -- Executing Dial("SIP/300-3bd6", "CONSOLE/dsp") in new stack
Jul 13 09:56:45 WARNING[1315]: No channel type registered for
2010 Nov 04
2
useless mpg123 processes hanging around
Running Asterisk 1.6.2.11 on debian 5.0.6 with mpg123 1.4.3
when i start asterisk, i immediately see two mpg123 processes spawned
which sit there forever. I can't imagine it's normal behavior, but if
it is, please explain :)
# /etc/init.d/asterisk stop
stopping asterisk.
#[...]
# /etc/init.d/asterisk start
starting asterisk.
# psg aster
root 14573 1 0 16:29 pts/2 00:00:00
2003 Nov 17
1
mpg123 core when stopping asterisk
I typically start asterisk with the safe_asterisk script:
22865 pts/3 S 0:00 /bin/sh /usr/sbin/safe_asterisk
22867 pts/3 S 0:31 asterisk -vvvg -c
22871 pts/3 S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 For-You.mp3 for.m
22873 pts/3 S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 For-You.mp3 for.m
But when I do a "stop now" from the CLI, the mpg123 causes a
2004 Apr 05
4
mpg123 issue and solution
All,
I've been setting up an Asterisk PBX over the past few days and I stumbled
across a problem with mpg123 that I have not seen documented anywhere.
If you put mp3 files into your mohmp3 directory and these files have ID3v2
tags, mpg123 will throw an error message "Found new ID3 Header",
regardless of the -q flag.
This, in turn, will cause Asterisk to crash (yes), although
2005 Mar 21
1
mpg123 home music from stream
Does anyone have an example for using a live mp3 shoutcast stream with
mpg123 for hold music?
2006 Feb 23
5
mpg123 alternative?
Been using mpg123 for moh for the last two years or so. However, when
I have * config errors, often times get a endless stream of console
messages and need to kill the two mpg123 processes.
Is there an alternative to mpg123 that eliminates that issue?
I see references in musiconhold.conf relative to madplay, native file
format, asterisk-addons, etc. Not sure why the asterisk-addon approach
2003 Nov 14
2
mpg123 causing Asterisk Freeze?
Hello,
I am currently using MusicOnHold(mpg123), and it works just fine, but every
once in a while I will get a flurry of warnings in the CLI like those below
and Asterisk will freeze completely, and the only way to come out of it is
with a kill -9 . Is mpg123 causing my problem? Is there a specific format of
MP3 that should be used/avoided to not have errors like these? Any help
would be greatly
2004 Aug 18
1
Mpg123 clarification
This was recently added as README.mp3:
* Asterisk MP3 Support
======================
Asterisk supports mp3 playback for music on hold via the mpg123
program, available from www.mpg123.de.
The latest release of mpg123 is mpg123 0.59r.
The latest development release of mpg123 is mpg123 pre0.59s.
Please use mpg123 0.59r. Using mpg123 pre0.59s can/may/will result
in crashes and/or unreliable
2006 Jun 13
3
Compiling mpg123 under 1.2.9.1 / Ubuntu 6.06
Hi,
I made the mistake of upgrading both my Linux box (to Ubuntu 6.06) and
Asterisk (to 1.2.9.1) at the same time. Now, when trying to compile
mpg123 - using the tried and true "make mpg123" -, the build fails with
an error
make[3]: Entering directory `/usr/src/asterisk-1.2.9.1/mpg123-0.59r'
make[3]: *** No rule to make target `\
', needed by `mpg123'. Stop.
Maybe
2004 Apr 25
1
MusicOnHold spawns everlasting mpg123 processes
Hullo :)
I'm using CVS-04/23/04-23 from the stable 1.0 branch on kernel 2.6 - since I
have no Digium h/w, I've just managed to get the zaprtc module to compile and run,
so I thought the best way to test it would be via MoH.
The MP3Player application works great ..
exten => 6901,1,Answer
exten => 6901,2,MP3Player(http://127.0.0.1:85/ES/28)
This will play callers BBC Radio 4 from
2004 May 10
2
Notice for Gentoo Users In Regard to mpg123
Hi there,
After scratching my head for days on why there is horrible white noise in
musiconhold, I finally found out that the latest emerge version of mpg123:
0.59s-r2 is not working well with asterisk. However, if you get the latest
source from mpg123.de mpg123-pre0.59s.tar.gz. Then it works wonderfully.
Just a heads up for the Gentoo admin
David
2005 Oct 09
1
MPG123 with Asterisk on debian (one of our interesting experiences)
This was just a recent personal experience....
Maybe I missed a thread on this:
We recently installed asterisk (CVS-HEAD) on a debian system using 2.6
kernel and the enhanced RTC for all timing.
Also a custom compiled kernel for the CPU on the box (P4).
We had a strange thing happen in that with Debian's MPG123 package:
Sound files played in asterisk/mpg123 were heard at literally 1/10th
2005 Jul 26
3
mpg123 - two processes
Does everyone have two processes running for mpg123? I always have them
when I'm running an idle Asterisk box. No calls going in or out and
nothing off hook. Is this normal? Thanks!
5008 ? S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096
fpm-calm-ri
5015 ? S 0:00 /usr/sbin/asterisk
5061 ? S 0:00 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096
2003 Mar 02
2
mp3 playing distorted, or very slowed down... unintelligible.
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
2003 Apr 17
3
mpg123 hangs on close, but plays fine.
I am running Asterisk CVS-04/16/03-18:57:13, and mpg123-0.59r
It all sounds great and it plays at the correct pitch and speed. However
at the end of the file it simply does nothing. It does not go on the
the next step in the extension.conf nor does it hang up. It just sits
there.
During play I have two processes running for the mp3 stream:
root 6300 6299 8 22:32 ?
2004 Dec 20
1
Why does * only work with an ancient mpg123?
Hi list!
Just wondering, why is * sticking with an mpg123 version from the
stoneage?
Gentoo comes with 0.59s-r8 and this version doesn't even start.
Ik know I could forcibly unmerge mpg123 and install the old version but I
guess some day newer versions will have to be supported?
Thanks!
2006 Jan 09
2
mpg123 removal
When I configured this server, I did not do the make mpg123 option.
Months later, I read about it and did it, as the client was asking about
MOH. About a week later the server crashed, which it never has before. I
believe mpg123 have a memory leak.
What's the best way to remove it, and is there an alternative that is
stable?
--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
2005 Mar 01
1
Music on hold..Mar error "res_musiconhold.c:309 monmp3thread: Request to schedule in the past" ?
Hey guys.
Im trying to setup Music on Hold. If I transfer a call (with dial) I like to
put the call on Music on hold..
Here's what I've tried so far:
On my I extensions.conf
exten =>1,1,WaitMusicOnHold(30)
exten =>1,2,Dial(SIP/mateo,18)
exten =>1,3,VoiceMail(1001)
I have also added this line to [context]..
So it looks like that:
;[context]
musiconhold=default
Additinaly,
2006 Mar 13
1
music on hold without mpg123
Hello list,
after the last time that mpg123 wen ballistic on our production system, we
decided to skip mp3 playback altogether and to go for raw files. After
half an hour playing with mpg123 and sox parameters in order to translate
a mp3 file to a wav file that can be streamed back through * with no need
for an mp3 decoder, I thought I'd post the result to the list to avoid
wasting