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

This commit is contained in:
Anthony Minessale authored and Mike Jerris committed 2017-01-10 17:10:10 -06:00
1 parent 862667f7e7
commit 14a8cde321
1 file changed
+1 -1
+1 -1
View File
@@ -1684,7 +1684,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);
}