mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Fix extension processing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
pbx.c
2
pbx.c
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user