diff options
author | Mark Michelson <mmichelson@digium.com> | 2013-06-14 23:26:50 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2013-06-14 23:26:50 +0000 |
commit | 67e35c7b4748c3cef954820a2b182e2a5edf8d98 (patch) | |
tree | 6cff528dfc19a89b8ee59ab38e942f4556919544 /channels/chan_unistim.c | |
parent | 671d7e62c799240989b00ebdd6b60a1dc37d019d (diff) |
Fix regression in MWI stasis handling.
In revision 389733, mwi state allocation was placed into its
own function instead of performing the allocation in-line when
required. The issue was that in ast_publish_mwi_state_full(),
the local variable "uniqueid" was no longer being set, but it was
still being used as the topic for MWI. This meant that all MWI
publications ended up being published to the "" (empty string)
mailbox topic. Thus MWI subscriptions for specific mailboxes were
never notified of mailbox state changes.
This change fixes the issue by removing the local uniqueid variable
from ast_publish_mwi_state_full() and instead referencing the
mwi_state->uniqueid field since it has been properly set.
(closes issue ASTERISK-21913)
Reported by Malcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_unistim.c')
0 files changed, 0 insertions, 0 deletions