diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-08 18:47:32 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-08 18:47:32 +0000 |
commit | 836823e6c018ceebfbf4219cc53bceda3a645880 (patch) | |
tree | ed8345007c1b00ecba1facb80180f91d2759c036 /main/pbx.c | |
parent | 7298cead27babeb5fe46c11227944b4f2cf30ef2 (diff) |
Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
(closes issue #14012)
Reported by: dveiga
Patches:
14012.patch uploaded by bkruse (license 132)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161787 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 8aee9e359..eaa0c20e9 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -4116,7 +4116,7 @@ static int collect_digits(struct ast_channel *c, int waittime, char *buf, int bu while (ast_matchmore_extension(c, c->context, buf, 1, c->cid.cid_num)) { /* As long as we're willing to wait, and as long as it's not defined, keep reading digits until we can't possibly get a right answer anymore. */ - digit = ast_waitfordigit(c, waittime * 1000); + digit = ast_waitfordigit(c, waittime); if (c->_softhangup == AST_SOFTHANGUP_ASYNCGOTO) { c->_softhangup = 0; } else { |