]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AMI: Add AMI event to expose hook flash events
authorNaveen Albert <mail@interlinked.x10host.com>
Thu, 13 May 2021 15:32:06 +0000 (11:32 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 19 May 2021 13:02:15 +0000 (08:02 -0500)
commit0ad3504ce049f7e3920008344cf60014387f71a5
tree14cd6ea7552bd0187f5bb9f3310f2d130152218e
parent7b82587dd65cd3ddc5e61d8957dd8bbb5fd54a3d
AMI: Add AMI event to expose hook flash events

Although Asterisk can receive and propogate flash events, it currently
provides no mechanism for doing anything with them itself.

This AMI event allows flash events to be processed by Asterisk.
Additionally, AST_CONTROL_FLASH is included in a switch statement
in channel.c to avoid throwing a warning when we shouldn't.

ASTERISK-29380

Change-Id: Ie17ffe65086e0282c88542e38eed6a461ec79e81
configs/samples/stasis.conf.sample
doc/CHANGES-staging/flash_ami_event.txt [new file with mode: 0644]
include/asterisk/stasis_channels.h
main/channel.c
main/manager_channels.c
main/stasis.c
main/stasis_channels.c