[asterisk-bugs] [Asterisk 0018130]: DTMF on agent channel causes high CPU

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 13 07:32:08 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18130 
====================================================================== 
Reported By:                rgj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18130
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.37-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-10-13 06:34 CDT
Last Modified:              2010-10-13 07:32 CDT
====================================================================== 
Summary:                    DTMF on agent channel causes high CPU
Description: 
We've recently updated Asterisk to the latest 1.4 version. 
Since then, pressing a DTMF key on an agent channel causes CPU load on a
specific thread to rise with about 10%. Every time a DMTF key is pressed
the CPU load goes up - and it never goes back down again until the agent
logs out.

This results in our entire server going to 0% idle within 20 key presses.

Is there a way to disable DMTF while this bug is being solved so we can at
least make it through?
====================================================================== 

---------------------------------------------------------------------- 
 (0127939) rgj (reporter) - 2010-10-13 07:32
 https://issues.asterisk.org/view.php?id=18130#c127939 
---------------------------------------------------------------------- 
Just found out that the logging keeps saying that DMTF is being received,
this continues after agent has stopped pressing keys on the phone.

[Oct 13 14:31:08] VERBOSE[616] logger.c:     -- Started music on hold,
class 'silence', on SIP/g2-00000001
[Oct 13 14:31:08] VERBOSE[616] logger.c:   == Agent '2004' logged in
(format ulaw/ulaw)
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF begin '7' received on
SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF begin passthrough '7' on
SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 60 ms
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end accepted with begin '7' on
SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end '7' has duration 60 but
want minimum 80, emulating on SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 101 ms
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 101 queued on SIP/g2-00000001
[Oct 13 14:31:15] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:16] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 108 ms
[Oct 13 14:31:16] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 108 queued on SIP/g2-00000001
[Oct 13 14:31:16] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:17] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 126 ms
[Oct 13 14:31:17] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 126 queued on SIP/g2-00000001
[Oct 13 14:31:17] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:18] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 145 ms
[Oct 13 14:31:18] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 145 queued on SIP/g2-00000001
[Oct 13 14:31:18] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:19] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 145 ms
[Oct 13 14:31:19] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 145 queued on SIP/g2-00000001
[Oct 13 14:31:20] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:20] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 151 ms
[Oct 13 14:31:20] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 151 queued on SIP/g2-00000001
[Oct 13 14:31:21] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:21] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 169 ms
[Oct 13 14:31:21] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 169 queued on SIP/g2-00000001
[Oct 13 14:31:22] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:22] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 187 ms
[Oct 13 14:31:22] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 187 queued on SIP/g2-00000001
[Oct 13 14:31:23] DTMF[616] channel.c: DTMF end emulation of '7' queued on
SIP/g2-00000001
[Oct 13 14:31:24] DTMF[616] channel.c: DTMF end '7' received on
SIP/g2-00000001, duration 203 ms
[Oct 13 14:31:24] DTMF[616] channel.c: DTMF begin emulation of '7' with
duration 203 queued on SIP/g2-00000001

and on and on forever. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-13 07:32 rgj            Note Added: 0127939                          
======================================================================




More information about the asterisk-bugs mailing list