From: Anthony Minessale Date: Fri, 22 Oct 2010 03:34:16 +0000 (-0500) Subject: fix type in dmachine parser X-Git-Tag: v1.2-rc1~265^2~11^2~154^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cf58428363255d9dd05e196cf308ca5cd4e2582;p=thirdparty%2Ffreeswitch.git fix type in dmachine parser --- 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; }