From 56944e5dfcb6e5c733d5dd13571f7be610fb8adc Mon Sep 17 00:00:00 2001 From: Automerge Script Date: Wed, 6 Jun 2007 14:25:31 +0000 Subject: [PATCH] automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@67696 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rtp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index 2f655a6577..6bb0218224 100644 --- a/rtp.c +++ b/rtp.c @@ -1728,8 +1728,13 @@ 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) + if (!timeoutms) { + if (pr0->set_rtp_peer(c0, NULL, NULL, 0, 0)) + ast_log(LOG_WARNING, "Channel '%s' failed to break RTP bridge\n", c0->name); + if (pr1->set_rtp_peer(c1, NULL, NULL, 0, 0)) + ast_log(LOG_WARNING, "Channel '%s' failed to break RTP bridge\n", c1->name); return AST_BRIDGE_RETRY; + } if (option_debug) ast_log(LOG_DEBUG, "Ooh, empty read...\n"); /* check for hangup / whentohangup */ -- 2.47.2