[asterisk-commits] app_dial: Propagate outbound hook flashes. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 1 10:14:18 CDT 2022


Kevin Harwell has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/18686 )

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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved; Approved for Submit
  Benjamin Keith Ford: Looks good to me, but someone else must approve



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/+/18686
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Id4e78b29a049f35c5b1e7520eaa10d0eb5b7f97c
Gerrit-Change-Number: 18686
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20220701/32b5cf5f/attachment-0001.html>


More information about the asterisk-commits mailing list