diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-14 17:02:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-14 17:02:20 +0000 |
commit | 8dd051949d230cb322c858ec5f841e02c0ef5355 (patch) | |
tree | 8676e4a61c82c8a223d1c42fcd7066b173f3a1b3 /rtp.c | |
parent | 9521172e85c010f6fdffc3a55fefb2cce518c843 (diff) |
Make sure when the timeout occurs that we actually break the bridge (bug #5252)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6791 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1677,6 +1677,8 @@ enum ast_bridge_result ast_rtp_bridge(struct ast_channel *c0, struct ast_channel } who = ast_waitfor_n(cs, 2, &timeoutms); if (!who) { + if (!timeoutms) + return AST_BRIDGE_RETRY; if (option_debug) ast_log(LOG_DEBUG, "Ooh, empty read...\n"); /* check for hangup / whentohangup */ |