summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-03-27 22:42:06 +0000
committerKinsey Moore <kmoore@digium.com>2013-03-27 22:42:06 +0000
commit1a2a4578d2ab7e1d1f1518a3f8bcc41f3fd13702 (patch)
tree8d4425c5f997b2f72069fa961b2d4cba8aab364f /channels/chan_sip.c
parentc67a06a2ff87ffd1dd3607866d965ef3caabe232 (diff)
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
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 200d25c6c..9b6b97ff7 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -16668,7 +16668,7 @@ static void mwi_event_cb(void *userdata, struct stasis_subscription *sub, struct
ao2_cleanup(peer);
return;
}
- if (stasis_mwi_state_message() == stasis_message_type(msg)) {
+ if (stasis_mwi_state_type() == stasis_message_type(msg)) {
sip_send_mwi_to_peer(peer, 0);
}
}
@@ -28849,7 +28849,7 @@ static int get_cached_mwi(struct sip_peer *peer, int *new, int *old)
ast_str_reset(uniqueid);
ast_str_set(&uniqueid, 0, "%s@%s", mailbox->mailbox, S_OR(mailbox->context, "default"));
- 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) {
continue;
}