]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix group_confirm regression from svn r12403
authorMichael Jerris <mike@jerris.com>
Mon, 16 Mar 2009 01:37:18 +0000 (01:37 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 16 Mar 2009 01:37:18 +0000 (01:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12616 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 4d9deffab1090915f15d6ee579cabb5d95e4f4c8..309f47b2609e13d4b62dee7f6a7d10663f25d9e0 100644 (file)
@@ -178,7 +178,7 @@ static void *SWITCH_THREAD_FUNC collect_thread_run(switch_thread_t *thread, void
                goto wbreak;
        }
 
-       if (switch_channel_up(channel)) {
+       if (!switch_channel_up(channel)) {
                switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
                goto wbreak;
        }