diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index 1e8f1a33b..9fdd3a154 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -6026,6 +6026,9 @@ static enum ast_pbx_result __ast_pbx_run(struct ast_channel *c, int invalid = 0; int timeout = 0; + /* No digits pressed yet */ + dst_exten[pos] = '\0'; + /* loop on priorities in this context/exten */ while (!(res = ast_spawn_extension(c, ast_channel_context(c), ast_channel_exten(c), ast_channel_priority(c), S_COR(ast_channel_caller(c)->id.number.valid, ast_channel_caller(c)->id.number.str, NULL), |