]> 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:38 +0000 (14:03 -0600)
commit357510cec336fb9c93c13f1baf723f1746cd68af
tree2dcfc5b4b5546a1a3553d74ebf3e79b0ade61bf7
parent91fc57f56bd25d9bf28d44486d9e97ada1daafa9
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