From: Anthony Minessale Date: Wed, 1 Feb 2012 18:07:36 +0000 (-0600) Subject: add proceed cases X-Git-Tag: v1.2-rc1~19^2^2~68^2~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675cd2d432a134ea1d9e83732f9bbe7bc058d28d;p=thirdparty%2Ffreeswitch.git add proceed cases --- diff --git a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c index db45f2933b..b208a3a90d 100644 --- a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c +++ b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c @@ -143,6 +143,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t * "Dialplan: %s Date/Time Match (PASS) [%s] break=%s\n", switch_channel_get_name(channel), exten_name, do_break_a ? do_break_a : "on-false"); anti_action = SWITCH_FALSE; + proceed = 1 } else if (time_match == 0) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG_CLEAN(session), SWITCH_LOG_DEBUG, "Dialplan: %s Date/TimeMatch (FAIL) [%s] break=%s\n", @@ -312,6 +313,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t * switch_log_printf(SWITCH_CHANNEL_SESSION_LOG_CLEAN(session), SWITCH_LOG_DEBUG, "Dialplan: %s Absolute Condition [%s]\n", switch_channel_get_name(channel), exten_name); anti_action = SWITCH_FALSE; + proceed = 1; } }