[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
Thu Jun 25 14:10:05 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-25 14:10 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
====================================================================== 

---------------------------------------------------------------------- 
 (0106992) dbailey (administrator) - 2009-06-25 14:10
 https://issues.asterisk.org/view.php?id=15374#c106992 
---------------------------------------------------------------------- 
fix15374-2.diff places an additional mwi callback in the init_event
handler.  I did this to insure I got an MWI sent to the phone when the
other party ended the call. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-25 14:10 dbailey        Note Added: 0106992                          
======================================================================




More information about the asterisk-bugs mailing list