diff options
author | Richard Mudgett <rmudgett@digium.com> | 2013-08-22 17:34:46 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2013-08-22 17:34:46 +0000 |
commit | ae7fb07092e8c2f24e9a8cddc497106f5b05ce75 (patch) | |
tree | 59d184efcb43557403838579e8aea24940e82958 /main/abstract_jb.c | |
parent | 20dcc49d2ef6f429afb9b495f55045f65c7047eb (diff) |
Made the abstract jitter buffer resync on some more control frames.
Resync the abstract jitter buffer on the following additional control
frames:
AST_CONTROL_HOLD
AST_CONTROL_UNHOLD
AST_CONTROL_T38_PARAMETERS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/abstract_jb.c')
-rw-r--r-- | main/abstract_jb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/abstract_jb.c b/main/abstract_jb.c index c968bac75..99d7395da 100644 --- a/main/abstract_jb.c +++ b/main/abstract_jb.c @@ -980,6 +980,9 @@ static struct ast_frame *hook_event_cb(struct ast_channel *chan, struct ast_fram if (frame->frametype == AST_FRAME_CONTROL) { switch(frame->subclass.integer) { + case AST_CONTROL_HOLD: + case AST_CONTROL_UNHOLD: + case AST_CONTROL_T38_PARAMETERS: case AST_CONTROL_SRCUPDATE: case AST_CONTROL_SRCCHANGE: framedata->jb_impl->force_resync(framedata->jb_obj); |