[Asterisk-code-review] app_dial: Propagate outbound hook flashes. (asterisk[16])
N A
asteriskteam at digium.com
Wed Jun 22 05:05:16 CDT 2022
N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/18701 )
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/01/18701/1
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 10c3106..e6f9b9d 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1875,6 +1875,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/+/18701
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Id4e78b29a049f35c5b1e7520eaa10d0eb5b7f97c
Gerrit-Change-Number: 18701
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/3179ba19/attachment-0001.html>
More information about the asterisk-code-review
mailing list