RE: [Asterisk-Users] problem with musiconhold

2005-03-16 Thread Wiley Siler
Gianluca,

Did you install the .59r. Version of mpg123?  The most common problem I
have seen for this is that people keep installing the 59q or 59g version
of mpg123.  59r is the way to go.

http://www.voip-info.org/wiki-mpg123

Thanks,
Wiley


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gianluca
Colucci
Sent: Wednesday, March 16, 2005 7:27 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] problem with musiconhold

Hi everybody,

I'm receiving the message res_musiconhold.c:309 monmp3thread:
Request to schedule in the past?!?! in asterisk console when I try to
put a call on hold. 
I don't the reason and I'm sure the relative module is loaded.
In musiconhold.conf I put these lines, trying something I found in some
previous post:

;
; Music on hold class definitions
;
[classes]
[moh_files]
default = /var/lib/asterisk/mohmp3

and I added this in sip.conf:

musiconhold=default

The directory I specified contains the three standard files but all this
doesn't work when I try to put a call on hold.

Does anyone have some idea about?

Thanks in advance,
Gianluca Colucci

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] problem with MUSICONHOLD

2005-03-16 Thread Trevor G. Hammonds
Gianluca Colucci wrote on Wednesday, 16 March 2005 9:54 AM:

   So, it seems to work: when I call the 98 extension I can hear the
 music. 
 
   The problem is when I try to make some test with three other
 extensions: I call one of these from my SIP client, the called
 answers me and I try to transfer the call to a third extension, the
 called listen no music.  

Make sure you are using a recent version of Asterisk.  I suggest downloading
from CVS and recompiling to ensure you are up to date.  This was a problem
in both CVS HEAD and Stable versions of asterisk a couple of weeks ago.  

Sincerely,
Trevor Hammonds

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] problem w/ musiconhold mpg123

2003-10-02 Thread Eric Wieling
That sound you hear is the sound of mpg321 running.  Do an ls -l
/usr/bin/mpg123  if it's a symlink to mpg321 then you have found your
problem.

On Thu, 2003-10-02 at 14:54, john lawler wrote:
 I'm trying to get musiconhold to work w/ my Asterisk system, and I'm not 
 having much success yet.
 
 First, I noticed that nothing happened even after I had enabled all of 
 the options in zapata.conf  setup a sample extension in extensions.conf.
 
 Then I read something about how Asterisk uses mpg123 to play the files. 
   I discovered that this had not been installed on my system, so I used 
 apt to install it.  That install when successfully.
 
 But now, instead of the silence I used to get during holds (why would 
 Asterisk have not indicated that it was missing mpg123 to me?), I get 
 this very strange sound that is certainly not the sample mp3 that's in 
 the music on hold directory.  It's possible it's that file w/ the pitch 
 and or speed way out of adjustment, I guess, but why would that be 
 happening?
 
 As a side note, I've always seen this error message on startup in 
 Asterisk, even though I doubt it'd be critical to play music on hold, 
 since normal messages (like in the included 'demo' context) play fine 
 (GSM, WAV, I suppose):
 
 Oct  2 13:23:46 WARNING[1074402464]: File chan_oss.c, Line 423 
 (soundcard_init):
   Unable to open /dev/dsp: No such device
 
 Anyone have any ideas on this?
 
 Thanks,
 
 John Lawler
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Sample configs and more: http://www.fnords.org/~eric/asterisk/

BTEL Consulting
+1-850-484-4535 x2111 (Pensacola)
+1-504-595-3916 x2111 (New Orleans)
+1-877-677-9643 x2111 (Toll Free)

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