]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Remove dependency on the stasis cache
authorKevin Harwell <kharwell@digium.com>
Wed, 12 Jun 2019 18:49:30 +0000 (13:49 -0500)
committerKevin Harwell <kharwell@digium.com>
Tue, 9 Jul 2019 14:36:26 +0000 (09:36 -0500)
commitc93c579190c50a648c652fdcf0b3592fb7d64e9d
tree0bc4e2053a731fa553dc52466ac5594380fd74d4
parent9637e1dfdc1c38a66c6e540cc40cb248cf33b3db
app_voicemail: Remove dependency on the stasis cache

app_voicemail utilized the stasis cache when polling mailboxes for MWI. This
caused a memory leak (items were not being appropriately removed from the
cache), and subsequent slowdown in system processing. This patch removes the
stasis cache dependency, thus alleviating the memory leak. It does this by
utilizing the new MWI API that better manages state lifetime.

ASTERISK-28443
ASTERISK-27121

Change-Id: Ie89fedaca81ea1fd03d150d9d3a1ef3d53740e46
apps/app_voicemail.c