[asterisk-bugs] [Asterisk 0017384]: CPU usage very high when putting call on MOH

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 30 15:37:17 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17384 
====================================================================== 
Reported By:                coolmig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17384
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.8-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-24 11:26 CDT
Last Modified:              2010-07-30 15:37 CDT
====================================================================== 
Summary:                    CPU usage very high when putting call on MOH
Description: 
Test scenario is very simple, two asterisk servers talking to each other
SIP.

SIP phone dials a extension on the first server which makes a call to the
other server that queues the call (and plays MOH). CPU usage is very
little, as always.

As long as I enable MOH on the SIP client, the CPU usage skyrockets... as
soon as I stop MOH on the SIP phone, everything goes back to normal.

This limits normal asterisk use with many channels involved.
====================================================================== 

---------------------------------------------------------------------- 
 (0125401) coolmig (reporter) - 2010-07-30 15:37
 https://issues.asterisk.org/view.php?id=17384#c125401 
---------------------------------------------------------------------- 
I'm reopening this because I repeated the test making sure there was no
transcoding (pabelanger was right about the alaw format on the previous
test). The results are the same making sure there's no transcoding. The
debug file shows that the musiconhold files that normally have a length of
several minutes are being played in a couple of seconds, like being played
at a very high speed.

I think this is related to https://issues.asterisk.org/view.php?id=17726
because of the dependency of res_musiconhold of DAHDI, and the tests were
made using res_timing_pthread. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-30 15:37 coolmig        Note Added: 0125401                          
2010-07-30 15:37 coolmig        Status                   closed => new       
2010-07-30 15:37 coolmig        Resolution               no change required =>
reopened
======================================================================




More information about the asterisk-bugs mailing list