]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 6 Aug 2024 18:04:51 +0000 (18:04 +0000)
commita824a0cdb4d45bed6af6348e0597fe5d7850159c
treede6a300dfcb102e5f658228a88a13de8b67ac4ab
parent291c1e4c1f392926d593c76211dd7553d2f5b82e
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
res/res_stasis.c
res/stasis/control.c
res/stasis/control.h