[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
Sat Jun 27 18:01:49 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-27 18:01 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
====================================================================== 

---------------------------------------------------------------------- 
 (0107102) alecdavis (reporter) - 2009-06-27 18:01
 https://issues.asterisk.org/view.php?id=15374#c107102 
---------------------------------------------------------------------- 
Tested fix15374-2.diff today on TDM400P with Asterisk SVN-trunk-r203569M
Is now sending MWI FSK spill after every OnHook as it should.

If messages are cleared from another extension, the only time the VMWI FSK
is sent, is still from the transistion from 1->0 or 0->1 messages. If a
CallerID unit has the ability to advise number of messages, then that will
only get updated when going OffHook->OnHook at the extension with the
CallerId unit. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-27 18:01 alecdavis      Note Added: 0107102                          
======================================================================




More information about the asterisk-bugs mailing list