[asterisk-bugs] [Asterisk 0015374]: [patch] VMWI not sent after every OnHook, only when messages changes from None to Some, or Some to None

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 29 20:37:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15374 
====================================================================== 
Reported By:                alecdavis
Assigned To:                dbailey
====================================================================== 
Project:                    Asterisk
Issue ID:                   15374
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 201829 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-22 05:06 CDT
Last Modified:              2009-06-29 20:37 CDT
====================================================================== 
Summary:                    [patch] VMWI not sent after every OnHook, only when
messages changes from None to Some, or Some to None
Description: 
In sig_analog.c
Function: analog_handle_event
 EVENT_ONHOOK doesn't force VMWI updates any more.

case ANALOG_EVENT_ONHOOK
      switch (p->sig) {
                case ANALOG_SIG_FXOLS:
                case ANALOG_SIG_FXOGS:
                case ANALOG_SIG_FXOKS:
needs                 p->msgstate = -1;  /* force VMWI update */   

As yet 'msgstate' hasn't been handled in the conversion to sig_analog
====================================================================== 

---------------------------------------------------------------------- 
 (0107214) dbailey (administrator) - 2009-06-29 20:37
 https://issues.asterisk.org/view.php?id=15374#c107214 
---------------------------------------------------------------------- 
I don't know why it would not be generating the MWI on the addition of
another message.  I need to look at what is happening on the return of
has_voicemail as I would expect the number to increment.  

I will need to look at what is going on in the code but will not be back
in the office until next week.  At that time I will find out why that is
occurring as well as look at the issue with SIP phones. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-29 20:37 dbailey        Note Added: 0107214                          
======================================================================




More information about the asterisk-bugs mailing list