oh yeah, it can be true too

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15376 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-11-05 18:39:43 +00:00
parent f2dc155173
commit fad6369f73

View File

@ -2328,6 +2328,9 @@ SWITCH_STANDARD_APP(audio_bridge_function)
}
if (continue_on_fail) {
if (switch_true(continue_on_fail)) {
return;
} else {
char *lbuf = switch_core_session_strdup(session, continue_on_fail);
char *argv[256] = { 0 };
int argc = switch_separate_string(lbuf, ',', argv, (sizeof(argv) / sizeof(argv[0])));
@ -2341,6 +2344,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
}
}
}
}
} else {
/* no answer is *always* a reason to continue */
if (cause == SWITCH_CAUSE_NO_ANSWER || cause == SWITCH_CAUSE_NO_USER_RESPONSE || cause == SWITCH_CAUSE_ORIGINATOR_CANCEL) {