[asterisk-bugs] [Asterisk 0015978]: Voicemail MWI - deleted messages are not notified to the extension

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 25 14:49:22 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15978 
====================================================================== 
Reported By:                mrmrmrmr
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15978
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           Older 1.6.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-28 13:33 CDT
Last Modified:              2009-12-25 14:49 CST
====================================================================== 
Summary:                    Voicemail MWI - deleted messages are not notified to
the extension
Description: 
Hi, 

My SIP client (SPA 3000) supports MWI with SIP NOTIFY messages. 

When a voicemail is left on the extension, a SIP NOTIFY message is sent to
my SIP client and the MWI is received ok. This is good. 

But when I delete all Voicemail through GUI(AMPortal), SIP NOTIFY message
notifying that there is no voicemail left is not sent to the client. 
Normally , I expect to receie a SIP NOTIFY message as soon as my inbox is
empty. 
However, this does not happen when I delete voicemail through GUI. 
If I delete voicemail through phone, I receive the SIP NOTIFY message. 

I have the following lines in my voicemail.cfg:
pollmailboxes=yes
pollfreq=30

My Asterisk version is 1.6.0.10-FONCORE-r40
It is running on CentOS (Trixbox)

The problem occurs each time I delete messages from GUI.

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

---------------------------------------------------------------------- 
 (0115765) mrmrmrmr (reporter) - 2009-12-25 14:49
 https://issues.asterisk.org/view.php?id=15978#c115765 
---------------------------------------------------------------------- 
ebroad,

Thank you very much.
The problem is solved by "subscribemwi=no" definition under the peer on
sip_additional.conf.

It's strange though to see that if no "subscribemwi" is set it defaults to
"subscribemwi=yes" 
is it possible to change this default behaviour to "no" ? 
(globally, I mean , not per peer.)

I think this default behaviour is somehow buggy.

It is also strange to see that if I set "subscribemwi=yes" or leave as
default , and set Asterisk IP address on SPA3000 "voice mail server" field,
spa 3000 subscribes for notification and Asterisk sends the notification,
however spa 3000 does not turn of MWI. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-25 14:49 mrmrmrmr       Note Added: 0115765                          
======================================================================




More information about the asterisk-bugs mailing list