Somehow matt's patch didn't make it all the way in
authorMark Spencer <markster@digium.com>
Wed, 28 Jul 2004 20:41:49 +0000 (20:41 +0000)
committerMark Spencer <markster@digium.com>
Wed, 28 Jul 2004 20:41:49 +0000 (20:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 16935f6..1f3848a 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -2468,7 +2468,7 @@ int ast_channel_bridge(struct ast_channel *c0, struct ast_channel *c1, struct as
        long elapsed_ms=0, time_left_ms=0;
        int playit=0, playitagain=1, first_time=1;
 
        long elapsed_ms=0, time_left_ms=0;
        int playit=0, playitagain=1, first_time=1;
 
-       flags = (config->allowdisconnect||config->allowredirect_out ? AST_BRIDGE_DTMF_CHANNEL_0 : 0) + (config->allowredirect_in ? AST_BRIDGE_DTMF_CHANNEL_1 : 0);
+       flags = (config->allowdisconnect_out||config->allowredirect_out ? AST_BRIDGE_DTMF_CHANNEL_0 : 0) + (config->allowdisconnect_in||config->allowredirect_in ? AST_BRIDGE_DTMF_CHANNEL_1 : 0);
 
        /* timestamp */
        gettimeofday(&start_time,NULL);
 
        /* timestamp */
        gettimeofday(&start_time,NULL);