diff options
author | George Joseph <gjoseph@digium.com> | 2017-07-17 09:03:14 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-07-17 09:03:14 -0500 |
commit | 9626377c1cf8c11b604d4a3e258e844b1cc618ae (patch) | |
tree | 49256ef5a16ca29c75743d719b37748a0672c45c | |
parent | e34dfca8befa0c36426be056641e5223f527b1a2 (diff) | |
parent | d3f5b265c77760351cfa1892b14e386c3d362b9b (diff) |
Merge "chan_iax2: On reload make sure to check for existing MWI subscription"
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index f40873e9d..5abb6c37f 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -13055,7 +13055,7 @@ static struct iax2_peer *build_peer(const char *name, struct ast_variable *v, st ast_free_acl_list(oldacl); } - if (!ast_strlen_zero(peer->mailbox)) { + if (!ast_strlen_zero(peer->mailbox) && !peer->mwi_event_sub) { struct stasis_topic *mailbox_specific_topic; mailbox_specific_topic = ast_mwi_topic(peer->mailbox); |