[asterisk-bugs] [Asterisk 0014460]: Asterisk plays a continuous tone forever if it never receives a 2833 end packet

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 24 14:44:36 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14460 
====================================================================== 
Reported By:                moliveras
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14460
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-11 14:46 CST
Last Modified:              2009-02-24 14:44 CST
====================================================================== 
Summary:                    Asterisk plays a continuous tone forever if it never
receives a 2833 end packet
Description: 
I am running asterisk 1.4.21.1, but have also reproduced this issue with
1.6.1-rc1.

Asterisk is bridging a call between two endpoints, both using rfc2833 for
digit detection.

SBC (192.168.196.40) --> asterisk (192.168.196.33) --> IP Phone
(192.168.196.181).

Asterisk receives a single rfc2833 digit with a duration of 320 (no end
packet) from 196.40.  Asterisk then sends a continuous stream of 2833
events towards the other end with increasing duration, causing a continuous
tone to be played.  Asterisk also stops sending rtp towards 196.181 while
sending the 2833 events.

I believe that this is not compliant with rfc2833.

Would it be better if the 2833 packets were simply forwarded on if
bridging between two peers that both do 2833?  At least the tone should not
last forever, and should not block rtp.   This 2833 packet originated from
an Adtran TA904 gateway that falsely detected a digit when none was pressed
(talk off).

I will attach a packet capture after submitting this ticket.

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

---------------------------------------------------------------------- 
 (0100662) svnbot (reporter) - 2009-02-24 14:44
 http://bugs.digium.com/view.php?id=14460#c100662 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 178379

_U  branches/1.6.1/
U   branches/1.6.1/Makefile
U   branches/1.6.1/main/rtp.c

------------------------------------------------------------------------
r178379 | russell | 2009-02-24 14:44:35 -0600 (Tue, 24 Feb 2009) | 22
lines

Merged revisions 178374 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r178374 | russell | 2009-02-24 14:39:57 -0600 (Tue, 24 Feb 2009) | 14
lines

Merged revisions 178373 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r178373 | russell | 2009-02-24 14:36:19 -0600 (Tue, 24 Feb 2009) | 6 lines

Only set dtmfcount on BEGIN, and ensure it gets reset to 0 properly.

(issue http://bugs.digium.com/view.php?id=14460)
Reported by: moliveras
Tested by: russell

........

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=178379 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-24 14:44 svnbot         Checkin                                      
2009-02-24 14:44 svnbot         Note Added: 0100662                          
======================================================================




More information about the asterisk-bugs mailing list