Convert MWI state message type to the new stasis naming convention

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kinsey Moore
2013-03-27 22:42:06 +00:00
parent c67a06a2ff
commit 1a2a4578d2
11 changed files with 21 additions and 21 deletions

View File

@@ -8768,7 +8768,7 @@ static void sig_pri_mwi_event_cb(void *userdata, struct stasis_subscription *sub
int idx;
struct stasis_mwi_state *mwi_state;
if (stasis_mwi_state_message() != stasis_message_type(msg)) {
if (stasis_mwi_state_type() != stasis_message_type(msg)) {
return;
}
@@ -8826,7 +8826,7 @@ static void sig_pri_mwi_cache_update(struct sig_pri_span *pri)
ast_str_reset(uniqueid);
ast_str_set(&uniqueid, 0, "%s@%s", pri->mbox[idx].number, pri->mbox[idx].context);
msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_message(), ast_str_buffer(uniqueid));
msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_type(), ast_str_buffer(uniqueid));
if (!msg) {
/* No cached event for this mailbox. */
continue;