Andrew, thanks I already have got mpg123 installed and working.  However still got the MOH stuff up and running.
Got a feeling it has got something to do with the stottering audio (see my other message on this list)

    NOTICE[1116949808]: File res_musiconhold.c, Line 258 (monmp3thread): Request to schedule in the past?!?!

Any suggestions are welcome ....


Andrew Joakimsen wrote:

http://www.marko.net/asterisk/archives/0207/0097.html

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Asterisk - linux - JVB
Sent: Tuesday, August 19, 2003 6:12 AM
To:
[EMAIL PROTECTED]
Subject: [Asterisk-Users] MusicOnHold

 

Does anybody know why I can NOT hear the MusicOnHold - using SJphone on another PC in our network (normal playback is not a problem) .
See the * output and the line configured in extension.conf below (also mp3player does not function)

Any suggestions?


Asterisk output:

*CLI>     -- Executing WaitMusicOnHold("SIP/jeroen-bf54", "30") in new stack
    -- Started music on hold, class 'default', on SIP/jeroen-bf54
    -- Stopped music on hold on SIP/jeroen-bf54
    -- Timeout on SIP/jeroen-bf54
    -- Executing Goto("SIP/jeroen-bf54", "#|1") in new stack
    -- Goto (default,#,1)
    -- Sent into invalid extension '#' in context 'default' on SIP/jeroen-bf54
    -- Executing Playback("SIP/jeroen-bf54", "invalid") in new stack
    -- Playing 'invalid'


Extension.conf

exten => 4000,1,WaitMusicOnHold,30
exten => 4001,1,mp3player(/var/lib/asterisk/mohmp3/sample-hold.mp3)

musiconhold.conf

[classes]
default => quietmp3:/var/lib/asterisk/mohmp3


Reply via email to