aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-17 05:15:33 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-17 05:15:33 +0000
commit2684505cef07f0894a27482ac60a198e4b2791e3 (patch)
treec5075788d3aadbfbb69859e1915317d602430123 /rtp.c
parent8d535ff32bc522f969b281c94c44d74b2efd920a (diff)
don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index b88dfacbd..c933039fe 100644
--- a/rtp.c
+++ b/rtp.c
@@ -1655,6 +1655,9 @@ enum ast_bridge_result ast_rtp_bridge(struct ast_channel *c0, struct ast_channel
}
}
+ if (option_verbose > 2)
+ ast_verbose(VERBOSE_PREFIX_3 "Native bridging %s and %s\n", c0->name, c1->name);
+
/* Ok, we should be able to redirect the media. Start with one channel */
if (pr0->set_rtp_peer(c0, p1, vp1, codec1, ast_test_flag(p1, FLAG_NAT_ACTIVE)))
ast_log(LOG_WARNING, "Channel '%s' failed to talk to '%s'\n", c0->name, c1->name);