[Home]

Summary:ASTERISK-01632: spurious DTMF digit detection terminates call
Reporter:jht (jht)Labels:
Date Opened:2004-05-15 14:21:44Date Closed:2008-01-15 14:54:50.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When calling an old NEC voicemail system, when it says "after the tone please leave your message, <beep>"
The <beep> is detected as a DTMF F digit by Asterisk and the call is terminated.

This problem was also mentioned previously on the mailing list: http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg02285.html

I made the following temporary fix on our system, but it may not be the best solution:
[root@pbx asterisk]# diff -c channel.c channel.c~
*** channel.c   2004-05-10 20:39:05.000000000 -0700
--- channel.c~  2004-05-10 20:39:05.000000000 -0700
***************
*** 1387,1393 ****
               else {
                       /* not handled */
                       ast_log(LOG_WARNING, "Unable to handle DTMF tone '%c' for '%s'\n", digit, chan->name);
!                       return 0;
               }
       }
       return 0;
--- 1387,1393 ----
               else {
                       /* not handled */
                       ast_log(LOG_WARNING, "Unable to handle DTMF tone '%c' for '%s'\n", digit, chan->name);
!                       return -1;
               }
       }
       return 0;



Comments:By: Mark Spencer (markster) 2004-05-15 18:42:40

That's almost right.  Fixed in CVS head.

By: Digium Subversion (svnbot) 2008-01-15 14:54:50.000-0600

Repository: asterisk
Revision: 2973

U   trunk/channel.c

------------------------------------------------------------------------
r2973 | markster | 2008-01-15 14:54:50 -0600 (Tue, 15 Jan 2008) | 2 lines

Don't worry about tones we can't send (bug ASTERISK-1632)

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

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