From 0db3a2febecc1c957c79cc88c26b49471a0c0afc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 10 Jan 2017 16:06:33 -0600 Subject: [PATCH] FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise originate #resolve --- 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 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); }