[svn-commits] russell: trunk r53784 - in /trunk: ./ apps/app_echo.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Feb 9 17:16:23 MST 2007


Author: russell
Date: Fri Feb  9 18:16:22 2007
New Revision: 53784

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53784
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_echo.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_echo.c?view=diff&rev=53784&r1=53783&r2=53784
==============================================================================
--- trunk/apps/app_echo.c (original)
+++ trunk/apps/app_echo.c Fri Feb  9 18:16:22 2007
@@ -73,6 +73,8 @@
 		case AST_FRAME_DTMF:
 			if (f->subclass == '#') {
 				res = 0;
+				if (ast_write(chan, f))
+					res = -1;
 				ast_frfree(f);
 				goto end;
 			}



More information about the svn-commits mailing list