aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index 468445e5f..284e99b1b 100755
--- a/rtp.c
+++ b/rtp.c
@@ -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 */