summaryrefslogtreecommitdiff
path: root/cdr
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-11-21 02:16:55 +0000
committerMatthew Jordan <mjordan@digium.com>2014-11-21 02:16:55 +0000
commit4f26a7ea36368ba2d91e72fc7d50b9f7369fad18 (patch)
tree3efeedfc5e804dbc0b22b24c2ae04b202ea0abd8 /cdr
parent8e64f6a0af9c62b41c29b8e94b961f3e49b154a6 (diff)
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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr')
0 files changed, 0 insertions, 0 deletions