From: Michael Jerris Date: Mon, 16 Mar 2009 01:37:18 +0000 (+0000) Subject: fix group_confirm regression from svn r12403 X-Git-Tag: v1.0.4~1519 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d1ce2477dfab6dd01f6a028737f71a40e88a21;p=thirdparty%2Ffreeswitch.git fix group_confirm regression from svn r12403 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12616 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }