[asterisk-bugs] [Asterisk 0010794]: WaitMusicOnHold() waits three times longer than it should.

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 21 21:25:47 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10794 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10794
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-21-2007 13:21 CDT
Last Modified:              09-21-2007 21:25 CDT
====================================================================== 
Summary:                    WaitMusicOnHold() waits three times longer than it
should.
Description: 

extensions.conf:

exten => 20,1,Answer
exten => 20,n,NoOp(${EPOCH})
exten => 20,n,Wait(10)
exten => 20,n,NoOp(${EPOCH})
exten => 20,n,WaitMusicOnHold(10)
exten => 20,n,NoOp(${EPOCH})
exten => 20,n,Hangup



Verbose output:

    -- Executing [20 at vitell-in:1] Answer("SIP/vitell402-0a1203e8", "") in
new stack
    -- Executing [20 at vitell-in:2] NoOp("SIP/vitell402-0a1203e8",
"1190399508") in new stack
    -- Executing [20 at vitell-in:3] Wait("SIP/vitell402-0a1203e8", "10") in
new stack
    -- Executing [20 at vitell-in:4] NoOp("SIP/vitell402-0a1203e8",
"1190399518") in new stack
    -- Executing [20 at vitell-in:5]
WaitMusicOnHold("SIP/vitell402-0a1203e8", "10") in new stack
    -- Started music on hold, class 'default', on SIP/vitell402-0a1203e8
    -- Stopped music on hold on SIP/vitell402-0a1203e8
    -- Executing [20 at vitell-in:6] NoOp("SIP/vitell402-0a1203e8",
"1190399547") in new stack
    -- Executing [20 at vitell-in:7] Hangup("SIP/vitell402-0a1203e8", "") in
new stack
  == Spawn extension (vitell-in, 20, 7) exited non-zero on
'SIP/vitell402-0a1203e8'



As you can see, Wait() works pefectly, WaitMusicOnHold() waits longer!!
This is repeatable and it always waits three times longer than the delay
parameter - WaitMusicOnHold(20) waits a minute.

====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 09-21-07 21:25  
---------------------------------------------------------------------- 
No idea, sorry.  I've never seen any such behavior before. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-21-07 21:25  Corydon76      Note Added: 0070936                          
======================================================================




More information about the asterisk-bugs mailing list