]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix type in dmachine parser
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Oct 2010 03:34:16 +0000 (22:34 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Oct 2010 03:34:16 +0000 (22:34 -0500)
src/switch_ivr_async.c

index 2c0e3c38f331429da0b5d37e7a46d6a7de0372ae..9f5b87df0ca7136290203e365c80eced9a1f49a1 100644 (file)
@@ -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;
                }