From: Anthony Minessale Date: Tue, 10 Jan 2017 22:06:33 +0000 (-0600) Subject: FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise... X-Git-Tag: v1.8.0~922 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db3a2febecc1c957c79cc88c26b49471a0c0afc;p=thirdparty%2Ffreeswitch.git FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise originate #resolve --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 25ed32093d..b8f7cd9f31 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -1689,7 +1689,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_enterprise_originate(switch_core_sess continue; } - if (channel && handles[i].cause && handles[i].cause != SWITCH_CAUSE_SUCCESS) { + if (getcause && channel && handles[i].cause && handles[i].cause != SWITCH_CAUSE_SUCCESS) { switch_channel_handle_cause(channel, handles[i].cause); }