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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Oct 3 10:27:00 CDT 2007


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 unable to reproduce
Fixed in Version:           
====================================================================== 
Date Submitted:             09-21-2007 13:21 CDT
Last Modified:              10-03-2007 10:27 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 - 10-03-07 10:27  
---------------------------------------------------------------------- 
Closing as unable to reproduce.  If you can figure out a test case that
consistently causes this issue, feel free to reopen. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-03-07 10:27  Corydon76      Note Added: 0071395                          
10-03-07 10:27  Corydon76      Status                   new => closed       
10-03-07 10:27  Corydon76      Resolution               open => unable to
reproduce
10-03-07 10:27  Corydon76      Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list