summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-08-31 01:59:02 +0000
committerJoshua Colp <jcolp@digium.com>2006-08-31 01:59:02 +0000
commitc6977b9983db4f58446bfbc65a5b028cda8244ee (patch)
tree95a924d57b906428b26d398758facf98b92bdcb2 /apps
parent5418a7a1a8326544f2275819c93649c97261a5f3 (diff)
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_echo.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c
index 19a86382e..4b2c94056 100644
--- a/apps/app_echo.c
+++ b/apps/app_echo.c
@@ -71,19 +71,13 @@ static int echo_exec(struct ast_channel *chan, void *data)
f->delivery.tv_usec = 0;
switch (f->frametype) {
case AST_FRAME_DTMF:
- case AST_FRAME_DTMF_END:
if (f->subclass == '#') {
res = 0;
ast_frfree(f);
goto end;
}
/* fall through */
- case AST_FRAME_DTMF_BEGIN:
- case AST_FRAME_VOICE:
- case AST_FRAME_VIDEO:
- case AST_FRAME_TEXT:
- case AST_FRAME_HTML:
- case AST_FRAME_IMAGE:
+ default:
if (ast_write(chan, f)) {
ast_frfree(f);
goto end;