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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tilghman
> Lesher
> Sent: 15 March 2004 16:28
> To: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to