From c0d1ce2477dfab6dd01f6a028737f71a40e88a21 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 16 Mar 2009 01:37:18 +0000 Subject: [PATCH] fix group_confirm regression from svn r12403 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12616 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 4d9deffab1..309f47b260 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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; }