diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-03-16 16:00:40 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-03-16 16:00:40 +0000 |
commit | 6300aa6ae4f71e9824e3b4cc2355e133bc606e9a (patch) | |
tree | f695405cb94a71d10f1ccc97ba406b3c12b5b34f /channels/chan_mgcp.c | |
parent | 99aa02d17f7f1815f9a2abf75282f815a975cd67 (diff) |
Make sure things compile...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@383287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 65a53900e..c230feae6 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -507,7 +507,7 @@ static int has_voicemail(struct mgcp_endpoint *p) ast_str_set(&uniqueid, 0, "%s@%s", mbox, cntx); - msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state(), ast_str_buffer(uniqueid)); + msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_message(), ast_str_buffer(uniqueid)); if (msg) { struct stasis_mwi_state *mwi_state = stasis_message_data(msg); @@ -4182,7 +4182,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v) ast_str_reset(uniqueid); ast_str_set(&uniqueid, 0, "%s@%s", mbox, cntx); - maibox_specific_topic = stasis_mwi_topic(ast_str_buffer(uniqueid)); + mailbox_specific_topic = stasis_mwi_topic(ast_str_buffer(uniqueid)); if (mailbox_specific_topic) { e->mwi_event_sub = stasis_subscribe(mailbox_specific_topic, mwi_event_cb, NULL); } |