app_dial: Propagate outbound hook flashes.

The Dial application currently stops hook flashes
dead in their tracks from propagating through on
outbound calls. This fixes that so they can go
down the wire.

ASTERISK-30115 #close

Change-Id: Id4e78b29a049f35c5b1e7520eaa10d0eb5b7f97c
This commit is contained in:
Naveen Albert 2022-06-18 17:13:07 +00:00 committed by Kevin Harwell
parent 53d921a199
commit 0a63692716
1 changed files with 4 additions and 0 deletions

View File

@ -1893,6 +1893,10 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
ast_verb(3, "Call on %s left from hold\n", ast_channel_name(o->chan));
ast_indicate(o->chan, AST_CONTROL_UNHOLD);
break;
case AST_CONTROL_FLASH:
ast_verb(3, "Hook flash on %s\n", ast_channel_name(o->chan));
ast_indicate(o->chan, AST_CONTROL_FLASH);
break;
case AST_CONTROL_VIDUPDATE:
case AST_CONTROL_SRCUPDATE:
case AST_CONTROL_SRCCHANGE: