[asterisk-bugs] [Asterisk 0014690]: music on hold outputs no sound on incoming calls (using sip) but it works when the call is put hold

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 1 05:03:18 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14690 
====================================================================== 
Reported By:                sherpya
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14690
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-17 20:59 CDT
Last Modified:              2009-04-01 05:03 CDT
====================================================================== 
Summary:                    music on hold outputs no sound on incoming calls
(using sip) but it works when the call is put hold
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
====================================================================== 

---------------------------------------------------------------------- 
 (0102528) sherpya (reporter) - 2009-04-01 05:03
 http://bugs.digium.com/view.php?id=14690#c102528 
---------------------------------------------------------------------- 
music files: stock moh
dahdi_dummy
internal_timing is not set

musiconhold.conf:
[music]
mode=files
directory=/opt/asterisk/lib/asterisk/moh

sip.conf
register -> eutelia-1234
[eutelia-12345]
bla bla
context=eutelia

extensions.conf

[eutelia]
exten => eutelia-1234
Answer
Set(CHANNEL(musicclass)=music)
WaitMusicOnHold(1000)

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-01 05:03 sherpya        Note Added: 0102528                          
======================================================================




More information about the asterisk-bugs mailing list