Skip to content
Snippets Groups Projects
Commit 66641e8a authored by Russell Bryant's avatar Russell Bryant
Browse files

Merged revisions 53783 via svnmerge from

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

........
r53783 | russell | 2007-02-09 18:15:50 -0600 (Fri, 09 Feb 2007) | 4 lines

When the Echo() application receives the digit '#', echo that back as well.
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e758ef09
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,8 @@ static int echo_exec(struct ast_channel *chan, void *data)
case AST_FRAME_DTMF:
if (f->subclass == '#') {
res = 0;
if (ast_write(chan, f))
res = -1;
ast_frfree(f);
goto end;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment