]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5812 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 20 Sep 2013 14:09:22 +0000 (09:09 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 20 Sep 2013 14:09:22 +0000 (09:09 -0500)
src/mod/applications/mod_dptools/mod_dptools.c

index a05f880a4a17e8fe3400a5c190fafcb8ae4499ce..95aea27f87f2cac1776147d83442b2da251c1508 100755 (executable)
@@ -2538,8 +2538,8 @@ SWITCH_STANDARD_APP(play_and_get_digits_function)
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Transfer on failure = [%s].\n", transfer_on_failure);
        }
 
-       if (min_digits <= 1) {
-               min_digits = 1;
+       if (min_digits <= 0) {
+               min_digits = 0;
        }
 
        if (max_digits < min_digits) {