]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Tue, 6 Aug 2024 18:04:39 +0000 (18:04 +0000)
commit25c38db9a4cc50bdd31b7f7b3ee66390ccab9508
treeeb504853484227ec9038e130e54065429ad2fca6
parent4aae8194b4389c4570368ea42152d2f1eff1e1b2
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