[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
Tue Jul 7 14:12:12 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-07-07 14:12 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
======================================================================
----------------------------------------------------------------------
(0107454) dbailey (administrator) - 2009-07-07 14:12
https://issues.asterisk.org/view.php?id=15374#c107454
----------------------------------------------------------------------
I looked through the issue with the MWI only being sent when the number of
messages transitions from 0 to 1 and 1 to 0 (i.e. not sent when the number
of voicemails changes to/from non-zero numbers.)
The has_voicemail function within chan_dahdi eventually calls into the
has_voicemail function in app_voicemail.c. This function returns 1 if
there are 1 or more voicemails in the users mailbox which explains the
phenomena. This behavior present in 1.4 so I am assuming that this is the
manner that it has always behaved. (or has done so since commit 134223.)
Issue History
Date Modified Username Field Change
======================================================================
2009-07-07 14:12 dbailey Note Added: 0107454
======================================================================
More information about the asterisk-bugs
mailing list