asterisk/res/stasis
Evgenios_Greek 2193cf1b26 stasis: Fix "FRACK!, Failed assertion bad magic number" when unsubscribing
When unsubscribing from an endpoint technology a FRACK
would occur due to incorrect reference counting. This fixes
that issue, along with some other issues.

Fixed a typo in get_subscription when calling ao2_find as it
needed to pass the endpoint ID and not the entire object.

Fixed scenario where a subscription would get returned when
it shouldn't have been when searching based on endpoint
technology.

A doulbe unreference has also been resolved by only explicitly
releasing the reference held by tech_subscriptions.

ASTERISK-28237 #close
Reported by: Lucas Tardioli Silveira

Change-Id: Ia91b15f8e5ea68f850c66889a6325d9575901729
2021-05-26 11:13:58 -05:00
..
app.c stasis/app: don't lock an app before a call to send 2020-01-27 12:11:29 -06:00
app.h ari: Implement 'debug all' and request/response logging 2017-01-23 10:25:58 -07:00
command.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
command.h ARI: Fix a crash caused by hanging during playback to a channel in a bridge 2014-08-22 16:52:51 +00:00
control.c ARI: Ability to inhibit COLP frames when adding channels to a bridge 2020-01-02 15:06:15 +00:00
control.h res_stasis: Add ability to switch applications. 2019-03-07 07:53:01 -06:00
messaging.c stasis: Fix "FRACK!, Failed assertion bad magic number" when unsubscribing 2021-05-26 11:13:58 -05:00
messaging.h Clean up files that do not end with newlines 2014-08-21 14:52:28 +00:00
stasis_bridge.c res_stasis.c: Added video_single option for bridge creation 2020-09-10 09:53:27 -05:00
stasis_bridge.h stasis_bridge.c: Fixed wrong video_mode shown 2020-07-24 11:33:00 -05:00