aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_readexten.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_readexten.c')
-rw-r--r--apps/app_readexten.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_readexten.c b/apps/app_readexten.c
index cb4fd8c2a..93ca4e670 100644
--- a/apps/app_readexten.c
+++ b/apps/app_readexten.c
@@ -121,10 +121,10 @@ static int readexten_exec(struct ast_channel *chan, void *data)
}
if (timeout <= 0)
- timeout = chan->pbx ? chan->pbx->rtimeout * 1000 : 10000;
+ timeout = chan->pbx ? chan->pbx->rtimeoutms : 10000;
if (digit_timeout <= 0)
- digit_timeout = chan->pbx ? chan->pbx->dtimeout * 1000 : 5000;
+ digit_timeout = chan->pbx ? chan->pbx->dtimeoutms : 5000;
if (ast_test_flag(&flags, OPT_INDICATION) && !ast_strlen_zero(arglist.filename))
ts = ast_get_indication_tone(chan->zone, arglist.filename);