Summary:ASTERISK-13768: music on hold outputs no sound on incoming calls (using sip) but it works when the call is put hold
Reporter:Gianluigi Tiesi (sherpya)Labels:
Date Opened:2009-03-17 20:59:41Date Closed:2011-06-07 14:03:00
Versions:Frequency of
Description:I've seen a lot of examples where I can set default music on hold class
and then after answer wait a bit or use the deprecated WaitMusicOnOld

I call from a pstn phone to a sip provider (eutelia/italy)

asterisk says "starting music on hold" without errors but I hear nothing

but if I park the call or I reply with a client and then put on hold it works fine

I'm doing something wrong? it's supposed to behave this way?

same with svn
Comments:By: David O Reilly (trendboy) 2009-03-19 14:06:34

I've got this problem too on -
   -- Executing [s@tester:14] Queue("IAX2/out-15135", "testQ,ni,,,15") in new stack
   -- Started music on hold, class 'default', on IAX2/out-15135
prepending 100 to prefs
   -- Call accepted by (format g729)
   -- Format for call is g729
   -- IAX2/7001-10068 is ringing
   -- Stopped music on hold on IAX2/out-15135

yet when I listen there is no sound!!

MOH was working fine and suddenly stopped for no reason on queues. Everything else works perfect, perfect sounds on my IVR menu the lot. No idea why it would stop all of a sudden without any errors at all.

By: Joshua C. Colp (jcolp) 2009-03-31 08:43:15

We're going to need much more information in order to be able to figure this out. Complete console output, musiconhold.conf file, whether you have dahdi hardware or dahdi_dummy, whether internal_timing is set in asterisk.conf or not. The type of sound files you are using would also be helpful and SIP debug.

By: Gianluigi Tiesi (sherpya) 2009-04-01 05:03:18

music files: stock moh
internal_timing is not set


register -> eutelia-1234
bla bla


exten => eutelia-1234

currently my sip provider does not work, I'll provide missing infos later

By: Gianluigi Tiesi (sherpya) 2009-04-03 06:04:44

very strange, after recompiling asterisk with different options, waitmusiconhold outputs the music, I had other cases where moh not worked, I'll try to reproduce them

By: Gianluigi Tiesi (sherpya) 2009-04-03 06:15:44

now it works also on dial, perhaps when I got the problem I was still using zaptel and not dahdi

By: Leif Madsen (lmadsen) 2009-05-22 12:46:54

Closed as it appears it works with DAHDI now.