Hi all, I'm trying to get moh working on * version 1.4.4. I've setup a test extension that answers the call and runs the musiconhold command with the appropriate class name. All I get on the phone is silence. The console tells me that moh started and immediately stopped, but it complains that there is "No class: moh0" *CLI> [Feb 22 12:17:36] WARNING[31142]: res_musiconhold.c:947 local_ast_moh_start: No class: (moh0) Here is the appropriate output of moh show classes Class: moh0 Mode: custom Directory: /etc/asterisk/diehl/music/moh0/ Application: /usr/bin/madplay -Q -z ---mono -R 8000 -o raw:- -r -a -12 Format: slin I have confirmed that madplay is in /usr/bin/. I've also used the playback command to ensure that the .wav files in the moh0 directory can be played by Asterisk. What am I missing? TIA, Mike.
On Mon, Feb 22, 2010 at 2:20 PM, Mike Diehl <mdiehl at diehlnet.com> wrote:> Hi all, > > I'm trying to get moh working on * version 1.4.4. ?I've setup a testI don't know the answer, but are you really using 1.4.4? If so, consider taking some time to review the security and feature improvements over the last several years and seriously consider updating.