Displaying 20 results from an estimated 4000 matches similar to: "No Audio from Console but mpg123 from shell works fine."
2005 Oct 15
1
No Audio from Console but mpg123 from shell worksfine.
Anyone have anything on this? (I'm sure someone will complain about me
bringing it up again, chill out...)
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jonathan
k. Creasy
Sent: Friday, October 14, 2005 10:15 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] No Audio
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,
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
2005 Mar 15
1
(Yet another) Music on hold problem and another...
Hi,
I've recently installed Asterisk and have got the majority of it
configured (what an excellent piece of software it is, too), but I'm
having a couple of problems.
The first one is with music on hold! I've downloaded and
installed mpg123 as specified:
># whereis mpg123
>mpg123: /usr/local/bin/mpg123
It's the correct version:
>#
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 May 27
0
Re: MoH: mgp123 problems
;
; Music on hold class definitions
;
[classes]
default => /var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => quietmp3:/var/lib/asterisk/mohmp3,-z
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters
(specifically embedded spaces)
;manual =>
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
2005 Mar 27
3
Can't get format_mp3 to work for music on hold
Hi Guys,
I am having trouble trying to get format_mp3 working to play music on hold.
I have followed the instructions in the read-me and the wiki however
it seems after un-installing mpg123, asterisk is not even attempting
to play MOH.
My musiconhold.conf is
; Music on hold class definitions
;
[classes]
[moh_files]
default = >/var/lib/asterisk/moh-native
;default =>
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 ?
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?
2005 Jun 30
3
R: Music oh hold
This is my musiconhold.conf and my folder:
root@voip:/etc/asterisk# less musiconhold.conf
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => mp3:/var/lib/asterisk/mohmp3,-z
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters
2004 Dec 11
0
Newbie MusicOnHold issues
Hi Everyone, Merry Christmas :-)....
My Asterisk Box doesn't have a sound card, it is running
Asterisk 1.02
Zaptel 1.02
Libpri 1.02
Mpg123 0.59r
All compiled from source with kernel 2.6.9-1.6 on Fedora Core 2
Any help would be very much appreciated.....
The error I am getting is
-- Executing WaitMusicOnHold("SIP/snom-james-849d", "30") in new
stack
Dec 12 00:27:29
2005 Mar 23
1
slim server for moh
Hello,
I have installed SlimServer for Windows on my desktop and Asterisk on a Red Hat Linux machine.
I am able to play mp3's for music on hold when mp3s are on the Linux server, and to play streaming mp3's with Windows Media Player and Winamp on Windows using the slim server.
I also have mpg123 on my Linux, apparently installed correctly, since it works for local moh.
I put the
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
2005 Jul 29
0
Music On Hold pain - suggestions?
Hi, all.
I'm running the Asterisk 1.0.7 package that comes with Debian Sarge. I'm
new to Asterisk, but so far almost everything is going well. However, I'm
having a Hell of a time with Music On Hold.
I've got an extension set up to test Music On Hold, as follows:
exten => 3000,1,WaitMusicOnHold(300)
I've tried the following in musiconhold.conf:
default =>
2003 May 07
1
Music not on hold
Hello,
I just can't seem to get the MusicOnHold function to work out ok.
I' managed to get the MP3Player app to work out fine, but
when I run the MusicOnHold all i get is siliece.
I can see that Asterisk executes mpg123 properly (I think)
#ps axuww|grep mp
gk 4383 0.0 0.4 3736 552 pts/4 S 15:06 0:00
/usr/bin/mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 sample-hold.mp3
2003 Oct 06
1
MP3s in /var/lib/asterisk/mohmp3 causes Asterisk crash
Hi All,
I have just compiled the newest version of mpg123 on a RedHat 9.0 system
(mpg321 has not been installed) and I am using the newest CVS version of
asterisk. Whenever I place any mp3 files in the
/var/lib/asterisk/mohmp3/ directory, Asterisk crashes a horrible fiery
death.
If mp3s exist in that directory, then I can't even start Asterisk. If I
start it without files then copy
2005 Jul 08
0
Leave Message - IVR don't work
I have installed asterisk in a 4.11 RELEASE FreeBSD, and we are using
two Zoom X5v with SIP and works fine, we can call each other and this
is OK
----------extensions.conf----------
[general]
static=yes
writeprotect=no
[sip]
exten => 123,1,Dial(SIP/123,20)
exten => 123,2,Voicemail(u${EXTEN})
exten => 123,3,Hangup
exten => 123,103,Voicemail(b${EXTEN})
exten => 123,104,Hangup
2003 Oct 22
2
MOH problems
I am trying to music on hold but I am having all sorts of problems with it.
I am running RH9 and the latest version of Asterisk as of yesterday.
Here is what I did to test it:
1. I manually deleted the mpg123 softlink to mpg321.
2. I downloaded mpg123-0.59r-1.n0i.src.rpm, compiled and installed the
the archive and loaded ztdummy.o module.
3. I threw a couple extra files in the mohmp3 directory