FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise originate #resolve

This commit is contained in:
Anthony Minessale 2017-01-10 16:06:33 -06:00
parent 5d3ff00368
commit 0db3a2febe

View File

@ -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);
}