asterisk/res/parking
Joshua Colp e924c5107c parking: Use channel snapshot instead of channel.
There exists a scenario where a thread can hold a lock on the
channels container while trying to lock a bridge. At the same
time another thread can hold the lock for said bridge while
attempting to retrieve a channel. This causes a deadlock.

This change fixes this scenario by retrieving a channel snapshot
instead of a channel, as information present in the snapshot
is all that is needed.

ASTERISK-28616

Change-Id: I68ceb1d62c7378addcd286e21be08a660a7cecf2
2019-11-13 18:21:30 -05:00
..
parking_applications.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
parking_bridge.c parking: Use channel snapshot instead of channel. 2019-11-13 18:21:30 -05:00
parking_bridge_features.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
parking_controller.c res_parking: Add dialplan function for lot channel 2018-07-10 11:03:01 -05:00
parking_devicestate.c res_parking: Add parking_devicestate.c left out from previous commit 2013-06-07 20:51:19 +00:00
parking_manager.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
parking_tests.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
parking_ui.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
res_parking.h res_parking: Add dialplan function for lot channel 2018-07-10 11:03:01 -05:00