this is due to asterisk only checking the X-Asterisk-VM-Mailbox header and ignoring X-Asterisk-VM-Context when polling for mwis to activate. As such, two different mailboxes have the same name in different contexts, both will activate if a message is received in either which one of the mailboxes. Reproducible: Always Steps to Reproduce: 1. Create mailboxes with the same name in two different contexts 2. Leave voicemail Actual Results: MWI for the two mailboxes will activate Expected Results: MWI for the mailbox that the message was actually left in should activate
Created attachment 171222 [details, diff] imap-mwi-fix.patch Works as advertised with asterisk 1.4.22
please test with asterisk-1.6.x which is now in the tree and reopen if still an issue.