Ensure that realtime mailboxes properly report status on subscription.
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 21 Aug 2009 21:39:51 +0000 (21:39 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 21 Aug 2009 21:39:51 +0000 (21:39 +0000)
commit89e87e32d259c47077889b9ce12815e3a5105341
tree1774600ceed4fe0dd116b63c8c1c16990d31ead6
parent1f81e544c0cbd8f3dada046e6b56d3f98f8dc199
Ensure that realtime mailboxes properly report status on subscription.

This patch modifies app_voicemail's response to mailbox status subscriptions
(via the internal event system) to ensure that a subscription triggers an
explicit poll of the mailbox, so the subscriber can get an immediate cached
event with that status. Previously, the cache was only populated with the
status of non-realtime mailboxes.

(closes issue #15717)
Reported by: natmlt

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c