summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorMatteo Brancaleoni <mbrancaleoni@espia.it>2003-03-02 19:52:23 +0000
committerMatteo Brancaleoni <mbrancaleoni@espia.it>2003-03-02 19:52:23 +0000
commitb9ae36c893be71d08354eda4a1e9c57ecd1e9747 (patch)
tree49a0b255f96975b7dfdf034d2510066935dc2894 /pbx.c
parent708c892f574fa92b0054d079713ed9b1ec4d3da7 (diff)
dom mar 2 20:52:10 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index a7ed72064..0f787513c 100755
--- a/pbx.c
+++ b/pbx.c
@@ -1135,7 +1135,8 @@ int ast_pbx_run(struct ast_channel *c)
c->name, c->context, c->exten, c->priority);
if ((res = ast_spawn_extension(c, c->context, c->exten, c->priority, c->callerid))) {
/* Something bad happened, or a hangup has been requested. */
- if (((res >= '0') && (res <= '9')) || ((res >= 'A') && (res <= 'F'))) {
+ 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);
exten[pos++] = digit = res;
break;