]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stasis: fix intermittent delays on adding channel to bridge
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 10 Jul 2024 18:58:44 +0000 (12:58 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:46:27 +0000 (18:46 +0000)
commit40fbf916cd7e48aa788ce87ce477c7348a448766
tree134fbfd55ea59b159c53017629154892a7985f14
parent84e93d1b5741c8766500152be1a2a19d440ecd1f
res_stasis: fix intermittent delays on adding channel to bridge

Previously, on command execution, the control thread was awoken by
sending a SIGURG. It was found that this still resulted in some
instances where the thread was not immediately awoken.

This change instead sends a null frame to awaken the control thread,
which awakens the thread more consistently.

Resolves: #801
(cherry picked from commit bdee743cd40901a1a082be749ccb23541e720a49)
res/res_stasis.c
res/stasis/control.c
res/stasis/control.h