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 committed by Mike Jerris
parent 862667f7e7
commit 14a8cde321
1 changed files with 1 additions and 1 deletions

View File

@ -1684,7 +1684,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_enterprise_originate(switch_core_sess
continue; 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); switch_channel_handle_cause(channel, handles[i].cause);
} }