summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-01-17 05:15:33 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-01-17 05:15:33 +0000
commit21347757ef3ca2c2b0d082d1b96c4cc84bf1c046 (patch)
treec5075788d3aadbfbb69859e1915317d602430123 /rtp.c
parentd791033430853dc9fd02c42211c081d4031c21e0 (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: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);