]> 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:44:38 +0000 (18:44 +0000)
commit872dccff95ef1ac438f1daa4bd371889ad999318
treeedbf75b14fa1cdc3bb1777a45bc9f0c708650660
parent36fc592a5bf1991c1db63f7294a28cc9e3a64988
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 25c38db9a4cc50bdd31b7f7b3ee66390ccab9508)
res/res_stasis.c
res/stasis/control.c
res/stasis/control.h