diff options
author | Alexei Gradinari <alex2grad@gmail.com> | 2016-08-08 13:53:32 -0400 |
---|---|---|
committer | Alexei Gradinari <alex2grad@gmail.com> | 2016-08-08 13:57:58 -0500 |
commit | 403b63571c53719bc050f4aded696cd933995d24 (patch) | |
tree | f12ba860945a4259979e2bb1d6497faf185304d7 /funcs/func_cut.c | |
parent | 9042ad40f2a56d6cfd4117897cbc9943253d4e09 (diff) |
res_pjsip_mwi: fix unsolicited mwi blocks PJSIP stack
The PJSIP taskprocessors could be overflowed on startup
if there are many (thousands) realtime endpoints
configured with unsolicited mwi.
The PJSIP stack could be totally unresponsive for a few minutes
after boot completed.
This patch creates a separate PJSIP serializers pool for mwi
and makes unsolicited mwi use serializers from this pool.
This patch also adds 2 new global options to tune taskprocessor
alert levels: 'mwi_tps_queue_high' and 'mwi_tps_queue_low'.
This patch also adds new global option 'mwi_disable_initial_unsolicited'
to disable sending unsolicited mwi to all endpoints on startup.
If disabled then unsolicited mwi will start processing
on next endpoint's contact update.
ASTERISK-26230 #close
Change-Id: I4c8ecb82c249eb887930980a800c9f87f28f861a
Diffstat (limited to 'funcs/func_cut.c')
0 files changed, 0 insertions, 0 deletions