]> 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:43 +0000 (18:04 +0000)
commitbdee743cd40901a1a082be749ccb23541e720a49
treee41659841ea14723dda275a11eddb75f92c88b6e
parent6cf685608000a3b08e4e8b8a62995e233cc536bf
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