Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246206 - net-misc/asterisk w/ imap: mwi activates for more than one mailbox if they have the same mailbox name but different contexts.
Summary: net-misc/asterisk w/ imap: mwi activates for more than one mailbox if they ha...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Rajiv Aaron Manglani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-09 19:43 UTC by Vicks
Modified: 2009-05-11 04:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
imap-mwi-fix.patch (asterisk-vm-imap-fix-mwi.patch,655 bytes, patch)
2008-11-09 19:49 UTC, Vicks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vicks 2008-11-09 19:43:48 UTC
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
Comment 1 Vicks 2008-11-09 19:49:07 UTC
Created attachment 171222 [details, diff]
imap-mwi-fix.patch

Works as advertised with asterisk 1.4.22
Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2009-05-11 04:26:27 UTC
please test with asterisk-1.6.x which is now in the tree and reopen if still an issue.