[asterisk-commits] mmichelson: branch mmichelson/bridged_channel r395819 - /team/mmichelson/brid...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 30 17:20:20 CDT 2013
Author: mmichelson
Date: Tue Jul 30 17:20:18 2013
New Revision: 395819
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395819
Log:
Remove ast_bridged_channel call from rtp_engine.c
Modified:
team/mmichelson/bridged_channel/main/rtp_engine.c
Modified: team/mmichelson/bridged_channel/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/bridged_channel/main/rtp_engine.c?view=diff&rev=395819&r1=395818&r2=395819
==============================================================================
--- team/mmichelson/bridged_channel/main/rtp_engine.c (original)
+++ team/mmichelson/bridged_channel/main/rtp_engine.c Tue Jul 30 17:20:18 2013
@@ -1298,7 +1298,7 @@
void ast_rtp_instance_set_stats_vars(struct ast_channel *chan, struct ast_rtp_instance *instance)
{
char quality_buf[AST_MAX_USER_FIELD], *quality;
- struct ast_channel *bridge = ast_bridged_channel(chan);
+ RAII_VAR(struct ast_channel *, bridge, ast_channel_bridge_peer(chan), ast_channel_cleanup);
if ((quality = ast_rtp_instance_get_quality(instance, AST_RTP_INSTANCE_STAT_FIELD_QUALITY, quality_buf, sizeof(quality_buf)))) {
pbx_builtin_setvar_helper(chan, "RTPAUDIOQOS", quality);
More information about the asterisk-commits
mailing list