dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 83246 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83246 | qwell | 2007-09-20 12:09:14 -0500 (Thu, 20 Sep 2007) | 8 lines

If # is pressed after dialing an extension in DISA, stop trying to collect more digits.

(closes issue #10754)
Reported by: atis
Patches:
      app_disa.c.branch.patch uploaded by atis (license 242)
      app_disa.c.trunk.patch uploaded by atis (license 242)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83251 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
qwell 2007-09-20 17:10:14 +00:00
parent 31040c1c41
commit 61d2062cf3
1 changed files with 4 additions and 0 deletions

View File

@ -283,6 +283,10 @@ static int disa_exec(struct ast_channel *chan, void *data)
ast_debug(1,"Successful DISA log-in on chan %s\n", chan->name);
continue;
}
} else {
if (j == '#') { /* end of extension */
break;
}
}
exten[i++] = j; /* save digit */