From 9aaaeb7215c44f9361fca6daeb20dfefaa288450 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 8 May 2013 09:18:45 -0500 Subject: [PATCH] FS-5371 --resolve typo --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 69749f1e57..acf2a644fe 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -2065,7 +2065,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess goto done; } - if ((flags & SOF_NOBLOCK) && var_event && (var = switch_event_get_header(var_event, "originate_delay_start"))) { + if (!(flags & SOF_NOBLOCK) && var_event && (var = switch_event_get_header(var_event, "originate_delay_start"))) { int tmp = atoi(var); if (tmp > 0) { while (tmp && (!cancel_cause || *cancel_cause == 0)) {