[Home]

Summary:ASTERISK-10929: DTMF buffer not purged if the dialing timeout
Reporter:Eduardo Ferro (eferro)Labels:
Date Opened:2007-11-29 12:16:26.000-0600Date Closed:2007-11-29 18:14:09.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_mgcp
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dtmf_buf-purge-after-timeout.patch
Description:When you are dialing, if you got a timeout before complete the correct number, asterisk Hangup ("not enough digits (and no ambiguous match)...") but don't clear the dtmf buffer so in the next call you already have the previous digits...

For example:
- Dial 12345
- Wait time out
- Asterisk Hangup the call
- You hangup the phone...
- Start dialing 678 and asterisk think that you dial to 12345678

****** ADDITIONAL INFORMATION ******

I test this behaiviour in 1.4.14, and 1.4 branch... I don't test in trunk but looking to the code seems that the bug persists
Comments:By: Eduardo Ferro (eferro) 2007-11-29 12:20:46.000-0600

I test the dtmf_buf-purge-after-timeout.patch in 1.4 branch and in 1.4.14 and it work, but it have no very intensive testing

By: Digium Subversion (svnbot) 2007-11-29 18:13:27.000-0600

Repository: asterisk
Revision: 90231

U   branches/1.4/channels/chan_mgcp.c

------------------------------------------------------------------------
r90231 | mmichelson | 2007-11-29 18:13:27 -0600 (Thu, 29 Nov 2007) | 5 lines

Clear the DTMF buffer if the call times out.

(closes issue ASTERISK-10929, reported and patched by eferro)


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

By: Digium Subversion (svnbot) 2007-11-29 18:14:09.000-0600

Repository: asterisk
Revision: 90232

_U  trunk/
U   trunk/channels/chan_mgcp.c

------------------------------------------------------------------------
r90232 | mmichelson | 2007-11-29 18:14:08 -0600 (Thu, 29 Nov 2007) | 13 lines

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

........
r90231 | mmichelson | 2007-11-29 18:16:04 -0600 (Thu, 29 Nov 2007) | 5 lines

Clear the DTMF buffer if the call times out.

(closes issue ASTERISK-10929, reported and patched by eferro)


........

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