[asterisk-bugs] [Asterisk 0018784]: Local channel DTMF detection broken by 17370

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 10 12:49:48 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18784 
====================================================================== 
Reported By:                rsw686
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18784
Category:                   Channels/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-10 09:40 CST
Last Modified:              2011-02-10 12:49 CST
====================================================================== 
Summary:                    Local channel DTMF detection broken by 17370
Description: 
The patch for issue 17370 has broken DTMF detection when calling through a
local channel. Here is a dialplan to quickly reproduce this. Dial 3350
enter 4567 and you will hear goodbye. Dial 3351 and you will hit invalid
every time. Revert the patch for 17370 and dialing 3351 works.

exten => 3350,1,Goto(loopdtmf,s,1)
exten => 3351,1,Dial(Local/3350 at from-internal,300,TW)

[loopdtmf]
exten => s,1,Answer
exten => s,n(repeat),Read(LOOPNUM,beep,,,,)
exten => s,n,GotoIf($[${LOOPNUM} = 4567]?good)
exten => s,n,Playback(invalid)
exten => s,n,Goto(repeat)
exten => s,n(good),Playback(goodbye)
exten => s,n,Hangup

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017370 [patch] ast_readstring (multiple DTMF i...
====================================================================== 

---------------------------------------------------------------------- 
 (0131806) rsw686 (reporter) - 2011-02-10 12:49
 https://issues.asterisk.org/view.php?id=18784#c131806 
---------------------------------------------------------------------- 
${READSTATUS} has a value of TIMEOUT with and without the patch reverted. I
know it seems weird the silence generator affects this. It had to test
multiple Asterisk versions and revert various patches to track this down.
If you test the sample dialplan you can reproduce this 100% of the time. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-10 12:49 rsw686         Note Added: 0131806                          
======================================================================




More information about the asterisk-bugs mailing list