[Freeswitch-svn] [commit] r12059 - freeswitch/trunk/src/mod/applications/mod_dptools

FreeSWITCH SVN mrene at freeswitch.org
Mon Feb 16 09:58:02 PST 2009


Author: mrene
Date: Mon Feb 16 11:58:02 2009
New Revision: 12059

Log:
Make sure priority isnt fucked up

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Mon Feb 16 11:58:02 2009
@@ -2021,7 +2021,7 @@
 				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;
 			}



More information about the Freeswitch-svn mailing list