[Asterisk-Users] Music on hold configuration

Anish Basu anish at softelinc.com
Wed Aug 24 12:57:02 MST 2005


For some reason I cannot get mutiple moh classes to work.  My current
musiconhold.conf is:
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
company => quietmp3:/var/lib/asterisk/mohmp3/company

I am running Asterisk CVS-D2005.06.24.  When a caller is placed on hold, I
get the following message:
Aug 24 15:39:48 WARNING[21300]: res_musiconhold.c:870 local_ast_moh_start:
No class: company.

The class is correctly defined in musiconhold.conf.  The directory
/var/lib/asterisk/mohmp3/company exists with a single mp3 file in it.  The
dialplan contains the line: "exten => s, 1, SetMusicOnHold(company)".  I am
starting to run out of ideas.  Should I try using native format_mp3 instead
of mpg123?

Anish Basu
Field Systems Engineer
Softel, Inc.
Phone: (732) 705-9202
Cell: (732) 312-6634 




More information about the asterisk-users mailing list