[asterisk-bugs] [Asterisk 0013194]: Voicemail left in wrong mailbox if multiple users have the same mailbox # but are in a diferent context

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 29 10:51:58 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13194 
====================================================================== 
Reported By:                moliveras
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13194
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-07-29 21:33 CDT
Last Modified:              2008-08-29 10:51 CDT
====================================================================== 
Summary:                    Voicemail left in wrong mailbox if multiple users
have the same mailbox # but are in a diferent context
Description: 
I have two different customers set up on the same asterisk, each in a
different context. (voicemail.conf file is attached)


; Voicemail for customer 'NJ_ at cust1'
[cust1]
100 => 1234,Mike Oliveras,,,tz=pacific|imapuser=100 at cust1
200 => 1234,Grand Stream,,,tz=pacific|imapuser=200 at cust1
300 => 9999,Joe Blow,,,tz=pacific|imapuser=300 at cust1
400 => ,sipp,,,tz=pacific|imapuser=400 at cust1
800 => 1234,Michael Oliveras,,,tz=pacific|imapuser=800 at cust1

; Voicemail for customer 'NJ_ at cust2'
[cust2]
100 => 1234,Link Sys,,,tz=pacific|imapuser=100 at cust2
600 => ,Joe Blow,,,tz=pacific|imapuser=600 at cust2
700 => ,Fax Line,,,tz=pacific|imapuser=700 at cust2 

I am using dovecot as the imap server.

If extension 200 calls extension 100 (both belong to cust1), then the
voicemail is left in the mailbox belonging to cust2. Also, vmwi is sent to
both 100 at cust2 and 100 at cust1.  If user 100 at cust1 checks voicemail, the
response is that there are no messages waiting.  If 100 at cust2 checks
voicemail, it is successful and vmwi is removed from both phones.

I can send additional debug if needed, but I just wanted to check first if
there is any known reason why this would not work.  I also tried removing
the authuser and authpassword from voicemail.conf and provisioned an
imappassword for each user and got exactly the same result.

Is there any reason why I can't use the same mailbox number?  This works
fine when voicemail is stored locally.  It seems as if asterisk is not
taking into acount the context when leaving or checking messages.

Best Regards,

Mike Oliveras 

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-29 10:51 svnbot         Status                   ready for testing =>
resolved
2008-08-29 10:51 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list