Skip to content
Snippets Groups Projects
Commit ca8a7889 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix extension processing

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e6fcca50
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment