dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 281723 via svnmerge from

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

................
  r281723 | tilghman | 2010-08-11 10:18:40 -0500 (Wed, 11 Aug 2010) | 14 lines
  
  Merged revisions 281722 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    r281722 | tilghman | 2010-08-11 10:17:20 -0500 (Wed, 11 Aug 2010) | 7 lines
    
    Only set status TIMEOUT, if we have no digits.
    
    (closes issue #15188)
     Reported by: jcovert
     Patches: 
           app_readexten.c.patch-1.6.2.8-rc1 uploaded by jcovert (license 551)
  ........
................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@281726 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2010-08-11 15:20:29 +00:00
parent 2b70d4917f
commit 1143277d06
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ static int readexten_exec(struct ast_channel *chan, const char *data)
if (res < 1) { /* timeout expired or hangup */
if (ast_check_hangup(chan)) {
status = "HANGUP";
} else {
} else if (x == 0) {
pbx_builtin_setvar_helper(chan, arglist.variable, "t");
status = "TIMEOUT";
}