mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 11:13:09 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user