]> 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:46 +0000 (08:02 -0500)
commitea117be4c60727c9be637b63260e36b6793712d6
treeacd79e5f0026e85d50b6f523541c0450645621cf
parent859cd2a56bf2666b64d2375d2035e407b3ac1f82
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