[Asterisk-code-review] app_dial: Propagate outbound hook flashes. (asterisk[19])

N A asteriskteam at digium.com
Wed Jun 22 05:05:24 CDT 2022


N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/18703 )


Change subject: app_dial: Propagate outbound hook flashes.
......................................................................

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
---
M apps/app_dial.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/03/18703/1

diff --git a/apps/app_dial.c b/apps/app_dial.c
index 3cf2343..edcce0a 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1893,6 +1893,10 @@
 						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:

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18703
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 19
Gerrit-Change-Id: Id4e78b29a049f35c5b1e7520eaa10d0eb5b7f97c
Gerrit-Change-Number: 18703
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220622/43c38154/attachment.html>


More information about the asterisk-code-review mailing list