From 4cf58428363255d9dd05e196cf308ca5cd4e2582 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 21 Oct 2010 22:34:16 -0500 Subject: [PATCH] fix type in dmachine parser --- src/switch_ivr_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 2c0e3c38f3..9f5b87df0c 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -302,7 +302,7 @@ static dm_match_t switch_ivr_dmachine_check_match(switch_ivr_dmachine_t *dmachin if (is_timeout) { if (both_bp) { - r_bp = both_bp; + r_bp = exact_bp ? exact_bp : both_bp; } else if (partial_bp) { r_bp = partial_bp; }