[svn-commits] file: trunk r395203 - /trunk/bridges/bridge_native_rtp.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jul 23 16:01:07 CDT 2013
Author: file
Date: Tue Jul 23 16:01:06 2013
New Revision: 395203
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395203
Log:
Fix some logic so native RTP bridge will occur when monitor, audiohooks, or framehooks are not present.
Modified:
trunk/bridges/bridge_native_rtp.c
Modified: trunk/bridges/bridge_native_rtp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/bridges/bridge_native_rtp.c?view=diff&rev=395203&r1=395202&r2=395203
==============================================================================
--- trunk/bridges/bridge_native_rtp.c (original)
+++ trunk/bridges/bridge_native_rtp.c Tue Jul 23 16:01:06 2013
@@ -84,7 +84,7 @@
/*! \brief Internal helper function which checks whether the channels are compatible with our native bridging */
static int native_rtp_bridge_capable(struct ast_channel *chan)
{
- return ast_channel_has_audio_frame_or_monitor(chan);
+ return !ast_channel_has_audio_frame_or_monitor(chan);
}
/*! \brief Internal helper function which gets all RTP information (glue and instances) relating to the given channels */
More information about the svn-commits
mailing list