Skip to content
Snippets Groups Projects
Commit e366c8c0 authored by Joshua Colp's avatar Joshua Colp
Browse files

Fix some logic so native RTP bridge will occur when monitor, audiohooks, or...

Fix some logic so native RTP bridge will occur when monitor, audiohooks, or framehooks are not present.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f087b69f
No related branches found
No related tags found
Loading
......@@ -84,7 +84,7 @@ static struct ast_frame *native_rtp_framehook(struct ast_channel *chan, struct a
/*! \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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment