]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 234855 via svnmerge from
authorAlec L Davis <sivad.a@paradise.net.nz>
Tue, 15 Dec 2009 01:18:42 +0000 (01:18 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Tue, 15 Dec 2009 01:18:42 +0000 (01:18 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r234855 | alecdavis | 2009-12-15 13:54:44 +1300 (Tue, 15 Dec 2009) | 9 lines

  ast_stream_and_wait(chan,dir-usingkeypad) didn't capture the dialled DTMF.

    (closes issue #16409)
    Reported by: alecdavis
    Tested by: alecdavis
    Patch
   bug_16409.diff.txt uploaded by alecdavis (license 585)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@234862 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_directory.c

index fad117f492ac1662bfa4103370ca9e661acad39c..9e51bf2d4795840583dbd3419698eda7d263b340 100644 (file)
@@ -740,7 +740,7 @@ static int directory_exec(struct ast_channel *chan, void *data)
                                        "dir-firstlast", AST_DIGIT_ANY);
                        }
                        if (!res) {
-                               ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
+                               res = ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
                        }
                }
                ast_stopstream(chan);