diff options
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/channel.c b/main/channel.c index c46e99082..0521364e1 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3071,9 +3071,9 @@ static int attribute_const is_visible_indication(enum ast_control_frame_type con case AST_CONTROL_TAKEOFFHOOK: case AST_CONTROL_ANSWER: case AST_CONTROL_HANGUP: - case AST_CONTROL_T38: case AST_CONTROL_T38_PARAMETERS: - return 0; + case _XXX_AST_CONTROL_T38: + break; case AST_CONTROL_CONGESTION: case AST_CONTROL_BUSY: @@ -3133,7 +3133,9 @@ int ast_indicate_data(struct ast_channel *chan, int _condition, /* Handle conditions that we have tones for. */ switch (condition) { - case AST_CONTROL_T38: + case _XXX_AST_CONTROL_T38: + /* deprecated T.38 control frame */ + return -1; case AST_CONTROL_T38_PARAMETERS: /* there is no way to provide 'default' behavior for these * control frames, so we need to return failure, but there @@ -4792,7 +4794,6 @@ static enum ast_bridge_result ast_generic_bridge(struct ast_channel *c0, struct case AST_CONTROL_UNHOLD: case AST_CONTROL_VIDUPDATE: case AST_CONTROL_SRCUPDATE: - case AST_CONTROL_T38: case AST_CONTROL_T38_PARAMETERS: ast_indicate_data(other, f->subclass, f->data.ptr, f->datalen); if (jb_in_use) { |