Make sure priority isnt fucked up

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-02-16 17:58:02 +00:00
parent 08ee3bff28
commit cf8f053b66

View File

@ -2021,7 +2021,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
return;
}
if (continue_on_fail && switch_true(continue_on_fail) || switch_stristr(cause_str, continue_on_fail) || strstr(cause_num, continue_on_fail)) {
if (continue_on_fail && (switch_true(continue_on_fail) || switch_stristr(cause_str, continue_on_fail) || strstr(cause_num, continue_on_fail))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Continue on fail [%s]: Cause: %s\n", continue_on_fail, cause_str);
return;
}