0f2eb00a52
res_statsis's app loop sleeps for up to .2s waiting on input
to a channel before re-checking the command queue. This can
cause delays between channel setup and bridge.
This change is to send a SIGURG on the sleeping thread when
a new command is enqueued. This exits the sleeping thread out
of the ast_waitfor() call triggering the new command being
processed on the channel immediately.
Resolves: #362
UserNote: Call setup times should be significantly improved
when using ARI.
(cherry picked from commit
|
||
---|---|---|
.. | ||
app.c | ||
app.h | ||
command.c | ||
command.h | ||
control.c | ||
control.h | ||
messaging.c | ||
messaging.h | ||
stasis_bridge.c | ||
stasis_bridge.h |