]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 17 Dec 2020 18:07:52 +0000 (12:07 -0600)
commit0a23296834c6f238bf1a3baa1a39606528b35ac2
tree9a10487b23feb504e20a012fb3fcf48f0639396f
parenta47e6965b3b304b313304a0df56753b137dd6fd3
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