[asterisk-dev] [Code Review] Complete DTMF digit when bridge is broken.

rmudgett reviewboard at asterisk.org
Mon Oct 29 14:47:41 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2169/
-----------------------------------------------------------

(Updated Oct. 29, 2012, 2:47 p.m.)


Review request for Asterisk Developers.


Changes
-------

Addressed mmichelson's documentation request.


Summary
-------

Using the AMI redirect action or ChannelRedirect application on a bridged call to transfer a channel can result in a stuck DTMF digit on the channel sending the digit.
Initial scenario that resulted in a stuck DTMF digit on a channel:
1) A is bridged with B (It doesn't matter who called whom)
2) B is sending a DTMF digit to A.
3) An AMI redirect action or the ChannelRedirect application redirects A to another channel or dialplan extension.
4) A will be stuck sending DTMF

Another scenario that could result in a stuck DTMF digit on a channel is the following:
1) A calls B
2) B is sending a DTMF digit to A
3) An AMI hangup action is done to B.
4) A will be stuck sending DTMF if it is setup to execute dialplan after the bridge exits.  (Dial g option)


This addresses bug ASTERISK-20492.
    https://issues.asterisk.org/jira/browse/ASTERISK-20492


Diffs (updated)
-----

  /branches/1.8/include/asterisk/channel.h 375391 
  /branches/1.8/include/asterisk/features.h 375391 
  /branches/1.8/main/channel.c 375391 
  /branches/1.8/main/features.c 375391 

Diff: https://reviewboard.asterisk.org/r/2169/diff


Testing
-------

Both scenarios get the simulated DTMF end digit.
For DAHDI channels, the initial scenario would result in A hearing ringback even though C answered and C could not hear anything from A.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121029/ed3e01fb/attachment.htm>


More information about the asterisk-dev mailing list