[Asterisk-Users] Help With Music On Hold

Walt Davis crazydog at waltdavis.net
Tue Mar 11 23:46:14 MST 2003


Asterisk -rvvv
    -- Starting simple switch on 'Zap/7-1'
    -- Executing MusicOnHold("Zap/7-1", "") in new stack
    -- Started music on hold, class 'default', on Zap/7-1
    -- Stopped music on hold on Zap/7-1
  == Spawn extension (home, 6, 1) exited non-zero on 'Zap/7-1'
    -- Hungup 'Zap/7-1'

As you can see MusicOnHold is starting and stopping but I dont hear
anything, just dead silence.

My music on hold config:
default => mp3:/var/lib/asterisk/mohmp3, -z.

All MP3 Files in this dirctory have global read access.

I'm getting a lot of these in the debug log:
Mar 11 14:12:10 DEBUG[3076]: File res_musiconhold.c, Line 240
(monmp3thread): Read 100 bytes of audio while expecting 640

and these in the Message log:
Mar 11 14:10:24 WARNING[1024]: File chan_oss.c, Line 419 (soundcard_init)

Any ideas?

-- 
Walt Davis
www.waltdavis.net





More information about the asterisk-users mailing list