diff options
-rw-r--r-- | main/abstract_jb.c | 3 | ||||
-rw-r--r-- | main/bridge_channel.c | 5 |
2 files changed, 3 insertions, 5 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); diff --git a/main/bridge_channel.c b/main/bridge_channel.c index f49fddc0f..0759634a0 100644 --- a/main/bridge_channel.c +++ b/main/bridge_channel.c @@ -1529,11 +1529,6 @@ static void bridge_channel_handle_control(struct ast_bridge_channel *bridge_chan * When the receiving channel is pulled from the bridge it needs to generate its own UNHOLD. * Something similar needs to be done for DTMF begin/end. */ - case AST_CONTROL_VIDUPDATE: - case AST_CONTROL_SRCUPDATE: - case AST_CONTROL_SRCCHANGE: - case AST_CONTROL_T38_PARAMETERS: -/* BUGBUG may have to do something with a jitter buffer for these. */ ast_indicate_data(chan, fr->subclass.integer, fr->data.ptr, fr->datalen); break; case AST_CONTROL_OPTION: |