[Asterisk-Users] MusicOnHold

Brian Mulligan brian at khizr.com
Mon Mar 15 10:06:58 MST 2004


Mmm, sorry me being stupid. When I substituted

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

instead of;

exten => 6000,1,Answer
exten => 6000,2,MusicOnHold

it worked. In my defense, the former syntax is the one in the Wiki for the
MusicOnHold command.
Brian

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Tilghman
> Lesher
> Sent: 15 March 2004 16:28
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] MusicOnHold
>
>
> On Monday 15 March 2004 09:29, Brian Mulligan wrote:
> > Despite my best efforts I am unable to get this to work. I have
> > checked that mpg123 is correctly installed and that the symbolic
> > link exists for the binary. I have also made sure that the REdhat9
> > does not have the older version mpg321 installed. When I invoke
> > MusicOnHold from my dialplan i get the following message;
> >
> > Mar 15 15:01:10 WARNING[1225991360]: res_musiconhold.c:416
> > moh_alloc: No class: 30
> > Mar 15 15:01:10 WARNING[1225991360]: res_musiconhold.c:305
> > moh0_exec: Unable to start
> >  music on hold (class '30') on channel Zap/3-1
>
> Please post the contents of your musiconhold.conf and the relevant
> line(s) from extensions.conf.
>
> -Tilghman
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>




More information about the asterisk-users mailing list