diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-27 02:57:17 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-27 02:57:17 +0000 |
commit | 2521743546703845c52d7404a32831285e442c28 (patch) | |
tree | 82ee09f9a2293affc1cf80f8224c31b84b09ab07 /pbx.c | |
parent | f19ee6679452b78143cd0badcb9cd053d2e00533 (diff) |
Fix extension processing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@703 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1163,6 +1163,8 @@ int ast_pbx_run(struct ast_channel *c) if (((res >= '0') && (res <= '9')) || ((res >= 'A') && (res <= 'F')) || (res == '*') || (res == '#')) { ast_log(LOG_DEBUG, "Oooh, got something to jump out with ('%c')!\n", res); + memset(exten, 0, sizeof(exten)); + pos = 0; exten[pos++] = digit = res; break; } |