sig_analog: Add Call Waiting Deluxe support.

Adds support for Call Waiting Deluxe options to enhance
the current call waiting feature.

As part of this change, a mechanism is also added that
allows a channel driver to queue an audio file for Dial()
to play, which is necessary for the announcement function.

ASTERISK-30373 #close

Resolves: #271

UserNote: Call Waiting Deluxe can now be enabled for FXS channels
by enabling its corresponding option.

(cherry picked from commit 76ab68b7e9)
This commit is contained in:
Naveen Albert
2023-08-24 14:07:06 +00:00
committed by George Joseph
parent 22fae4653a
commit a407b4948d
10 changed files with 294 additions and 0 deletions

View File

@@ -4317,6 +4317,7 @@ static int attribute_const is_visible_indication(enum ast_control_frame_type con
case AST_CONTROL_STREAM_REVERSE:
case AST_CONTROL_STREAM_FORWARD:
case AST_CONTROL_STREAM_RESTART:
case AST_CONTROL_PLAYBACK_BEGIN:
case AST_CONTROL_RECORD_CANCEL:
case AST_CONTROL_RECORD_STOP:
case AST_CONTROL_RECORD_SUSPEND:
@@ -4618,6 +4619,7 @@ static int indicate_data_internal(struct ast_channel *chan, int _condition, cons
case AST_CONTROL_STREAM_REVERSE:
case AST_CONTROL_STREAM_FORWARD:
case AST_CONTROL_STREAM_RESTART:
case AST_CONTROL_PLAYBACK_BEGIN:
case AST_CONTROL_RECORD_CANCEL:
case AST_CONTROL_RECORD_STOP:
case AST_CONTROL_RECORD_SUSPEND: