Files
asterisk/main
Matthew Jordan 2be984fb11 main/bridge_basic: Fix features regressions introduced by r428165
In r428165, two bugs were introduced:

* Prior to entering the features retry loop, the buffer that holds the
  collected digits is wiped. However, this inadvertently wipes out the
  first collected digit on the first pass through, which is obtained
  in ast_stream_and_wait. This caused all of the features tests to fail.
* If ast_app_dtget returns a hangup (-1), the loop would retry incorrectly.
  If we detect a hangup, we have to stop trying the feature.

This patch fixes both issues.

Review: https://reviewboard.asterisk.org/r/4196/
........

Merged revisions 428505 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-11-21 02:17:15 +00:00
..
2012-06-15 16:20:16 +00:00
2013-08-20 15:36:10 +00:00
2012-06-15 16:20:16 +00:00
2014-10-10 13:03:18 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2013-06-29 00:18:57 +00:00
2014-09-05 17:45:03 +00:00
2012-03-22 19:51:16 +00:00
2014-11-12 20:40:59 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 18:05:47 +00:00
2014-07-07 01:10:55 +00:00
2014-05-09 22:49:26 +00:00
2014-08-05 21:44:09 +00:00
2012-04-28 01:33:49 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00