mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Merge "chan_iax2: On reload make sure to check for existing MWI subscription"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user