[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
Tue Aug 26 11:34:48 CDT 2008
A NOTE has been added to this issue.
======================================================================
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: assigned
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:
======================================================================
Date Submitted: 2008-07-29 21:33 CDT
Last Modified: 2008-08-26 11:34 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
======================================================================
----------------------------------------------------------------------
(0091746) putnopvut (administrator) - 2008-08-26 11:34
http://bugs.digium.com/view.php?id=13194#c91746
----------------------------------------------------------------------
I have uploaded a patch for testing. This patch adds context-checking as
requested. In my test setup, things appeared to work fine, but I would like
further verification.
The patch was created against the 1.4 subversion branch.
Issue History
Date Modified Username Field Change
======================================================================
2008-08-26 11:34 putnopvut Note Added: 0091746
======================================================================
More information about the asterisk-bugs
mailing list