]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_chanspy: Spyee information missing in ChanSpyStop AMI Event
authorSean Bright <sean.bright@gmail.com>
Fri, 11 Dec 2020 19:27:56 +0000 (14:27 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 17 Dec 2020 20:03:52 +0000 (14:03 -0600)
commit13682210e2ff7d78d172577e923628626bf24599
treeb1cc8ad07115c0f57ac3fc7ee57c55b1e3a200d3
parent4b450b43348388c44504e882fde1ab6be8e72a90
app_chanspy: Spyee information missing in ChanSpyStop AMI Event

The documentation in the wiki says there should be spyee-channel
information elements in the ChanSpyStop AMI event.

    https://wiki.asterisk.org/wiki/x/Xc5uAg

However, this is not the case in Asterisk <= 16.10.0 Version. We're
using these Spyee* arguments since Asterisk 11.x, so these arguments
vanished in Asterisk 12 or higher.

For maximum compatibility, we still send the ChanSpyStop event even if
we are not able to find any 'Spyee' information.

ASTERISK-28883 #close

Change-Id: I81ce397a3fd614c094d043ffe5b1b1d76188835f
apps/app_chanspy.c
main/manager_channels.c
res/res_stasis_snoop.c