]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager_channels: Fix throwing of HangupHandler manager events
authorGerald Schnabel <gs@starface.de>
Tue, 22 Jan 2019 21:03:22 +0000 (22:03 +0100)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 22 Jan 2019 23:29:44 +0000 (17:29 -0600)
commit8791dda672c3e39f3e1c6d14b9f645888d18bef2
tree0947c186461ce5a76c13978e945ef0e5d188b6f1
parente66d4d1d2ae56303f7e5dbebdd954b49c3ec7d7c
manager_channels: Fix throwing of HangupHandler manager events

The type value extracted from stasis message data in channel_hangup_handler_cb
isn't compared against the valid values "run", "pop" and "push". Thus the
manager events HangupHandlerPush, HangupHandlerPop and HangupHandlerRun are
never thrown.

This regression was introduced by ASTERISK_21462.

ASTERISK-28252

Change-Id: I9956e35e18da1873113644df1ddc3c7cd37bf524
main/manager_channels.c