[Asterisk-Users] Music oh hold

Adam Robins arobins at PharmaCentra.com
Thu Jun 30 07:05:39 MST 2005


No, I am not using mpg123 at all.

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Giordano Grandis
Sent: Thursday, June 30, 2005 9:35 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: R: [Asterisk-Users] Music oh hold


Did u installed mpg123 0.59r ?
 
Giordano 

 
________________________________

Da: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Per conto di Adam Robins
Inviato: giovedì 30 giugno 2005 13.01
A: Asterisk Users Mailing List - Non-Commercial Discussion; Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: RE: [Asterisk-Users] Music oh hold


I am using rawplayer:
 
default => custom:/var/lib/asterisk/mohmp3/raw,usr/bin/rawplayer
 
as in: http://www.voip-info.org/wiki-Asterisk+mpg123+faking+it
 
However, the music is too loud.  Without having to rerecord it, is there a parameter like quietmp3 that can be used with the above to lower the volume level?

________________________________

From: asterisk-users-bounces at lists.digium.com on behalf of Marcel van Kaam, Fonetica
Sent: Thu 6/30/2005 3:29 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Music oh hold



Change from default to manual. I did that and it helped.

 

Later I changed to madplay and set that as default. Below my line from musiconhold.conf:

 

default => custom:/usr/share/asterisk/mohmp3/,/usr/bin/madplay --mono -R 8000 --output=raw:-

 

Marcel 

 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Giordano Grandis
Sent: donderdag 30 juni 2005 9:05
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: R: [Asterisk-Users] Music oh hold

 

This is my musiconhold.conf and my folder:

 

root at 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 (specifically embedded spaces)
;manual => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
root at voip:/etc/asterisk# ls /var/lib/asterisk/mohmp3/
fpm-calm-river.mp3  fpm-sunshine.mp3  fpm-world-mix.mp3
root at voip:/etc/asterisk#

I think is ok.

 

Any ideas ?

 

Giordano

________________________________

Da: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Per conto di Chris Stinson
Inviato: mercoledì 29 giugno 2005 22.39
A: Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: RE: [Asterisk-Users] Music oh hold

Does your default look like this in musiconhold.conf, default => quietmp3:/var/lib/asterisk/mohmp3

If so, do you have any music in the directory mohmp3?

 

-----

Chris Stinson
Network Operations Center
ISDN-Net, Inc.
615-221-4200 x103
noc at isdn.net 

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Giordano Grandis
Sent: Wednesday, June 29, 2005 12:35 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Music oh hold

 

Sorry, i also tried this:

 

exten => 6000,1,Answer
exten => 6000,2,MusicOnHold(default)

and i got this result:

 

*CLI>     -- Executing Answer("SIP/2391-8cdd", "") in new stack
    -- Executing MusicOnHold("SIP/2391-8cdd", "default") in new stack
Jun 29 19:33:47 WARNING[1616]: res_musiconhold.c:354 moh0_exec: Unable to start music on hold (class 'default') on channel SIP/2391-8cdd
  == Spawn extension (local, 6000, 2) exited non-zero on 'SIP/2391-8cdd'

Any ideas ?

 

Thanks

 

Giordano

 

________________________________

Da: Giordano Grandis 
Inviato: mercoledì 29 giugno 2005 19.27
A: asterisk-users at lists.digium.com
Oggetto: 

Hi, I installed mpg123 v0.59r without error and defined as defaut folder /var/lib/asterisk/mohmp3. When i set a call on hold everythinghs seem ok, but i cannot hear music. I'm using asterisk 1.0.8

 

*CLI>     -- Executing Dial("SIP/2339-4da6", "SIP/2391|60|Thtr") in new stack
    -- Called 2391
    -- SIP/2391-79a0 is ringing
    -- Saved useragent "PA168S" for peer 2319
    -- SIP/2391-79a0 answered SIP/2339-4da6
    -- Attempting native bridge of SIP/2339-4da6 and SIP/2391-79a0
    -- Started music on hold, class 'default', on SIP/2339-4da6
    -- Stopped music on hold on SIP/2339-4da6
  == Spawn extension (local, 2391, 1) exited non-zero on 'SIP/2339-4da6'

 

Anyone can help me please ?

 

Thanks

 

Giordano            

                     

 

The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050630/081e2bfe/attachment.htm


More information about the asterisk-users mailing list