Skip to content

Commit ae8a36a

Browse files
InterLinked1kharwell
authored andcommitted
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
1 parent e5553fb commit ae8a36a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/app_dial.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,6 +1893,10 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
18931893
ast_verb(3, "Call on %s left from hold\n", ast_channel_name(o->chan));
18941894
ast_indicate(o->chan, AST_CONTROL_UNHOLD);
18951895
break;
1896+
case AST_CONTROL_FLASH:
1897+
ast_verb(3, "Hook flash on %s\n", ast_channel_name(o->chan));
1898+
ast_indicate(o->chan, AST_CONTROL_FLASH);
1899+
break;
18961900
case AST_CONTROL_VIDUPDATE:
18971901
case AST_CONTROL_SRCUPDATE:
18981902
case AST_CONTROL_SRCCHANGE:

0 commit comments

Comments
 (0)