aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 8eaa0a453..01e7664c3 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -2959,6 +2959,11 @@ static enum ast_bridge_result bridge_native_loop(struct ast_channel *c0, struct
cs[1] = cs[2];
}
+ 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_FAILED;
}