[Asterisk-Users] Re: MoH: mgp123 problems

yusuf yusuf at ecntelecoms.com
Fri May 27 02:26:36 MST 2005


;
; 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 => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000 -f 
8192 -b 2048 --mono -s


[moh_files]
;native => /var/lib/asterisk/moh-native
;native-random => /var/lib/asterisk/moh-native,r



>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 25 May 2005 08:57:28 -0400
>From: "Huddleston, Robert" <RHuddleston at cavtel.com>
>Subject: RE: [Asterisk-Users] MoH: mpg123 problems
>To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>	<asterisk-users at lists.digium.com>
>Message-ID:
>	<6FBCD49C09647B4584B0CD4166C0D5BF3E5202 at RICHEXCHVN01.cavalier.com>
>Content-Type: text/plain
>
>Can you post your conf file for the musiconhold??? Sounds like you haven't
>defined a default class / context - I could be wrong
>
>
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of yusuf
>Sent: Wednesday, May 25, 2005 8:32 AM
>To: asterisk-users at lists.digium.com
>Subject: [Asterisk-Users] MoH: mpg123 problems
>
>Hey all,
>I have read on voip-info.org that to configure MoH asterisk requires the 
>use of mpg123.  I have installed mpg123 and restarted asterisk.  But, 
>when i put a call on hold i get this error:
>
>May 25 14:13:03 WARNING[1872]: res_musiconhold.c:865 
>local_ast_moh_start: No class: default
>
>Can you help,
>Thanks
>yusuf
>  
>




More information about the asterisk-users mailing list