[Asterisk-Users] Music on hold problem

Brian Weaver brian at fcu.com
Sat Jul 3 11:22:30 MST 2004


I can't seem to get music on hold working, it tries to work, but I
just hear strange noises on the extension..  Here is some debug info.
Looks like mpg123 starts fine, but I hear nothing.
I'm on todays CVS build.


    -- Executing Answer("SIP/2203-062c", "") in new stack
    -- Executing MusicOnHold("SIP/2203-062c", "default") in new stack
    -- Started music on hold, class 'default', on SIP/2203-062c

asterisk 16218 16217  0 12:20 ?        00:00:00 mpg123 -q -s --mono -r
8000 -b 2048 -f 4096 yellow.mp3 Tears for Fears - Mad World_0529152254.mp3

pbx:~# mpg123
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.

extensions.conf snippit
; music
 exten => 6601,1,Answer
 exten => 6601,2,MusicOnHOld(default)

;
; Music on hold class definitions
;
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => quietmp3:/var/lib/asterisk/mohmp3,-z


Any ideas of what to check next?



More information about the asterisk-users mailing list