[asterisk-bugs] [Asterisk 0017398]: MWI NOTIFY is not being sent to phones subscribed to events
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 14 17:58:24 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17398
======================================================================
Reported By: ip-rob
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 17398
Category: Channels/chan_sip/Subscriptions
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
Target Version: 1.6.2.11
Asterisk Version: 1.6.2.7
JIRA: SWP-1604
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-05-25 16:46 CDT
Last Modified: 2010-07-14 17:58 CDT
======================================================================
Summary: MWI NOTIFY is not being sent to phones subscribed to
events
Description:
Even though a phone is subscribed for mailbox events the MWI indicator is
not changing when messages are left or deleted. The MWI indicator only
gets updated every 30 minutes.
Attached is a sip debug of a call made to device 9903 and a message is
left in voicemail. No notification is sent to the SIP device. The PBX
public IP has been replaced with the value PBXPUBLICIP, phone public IP is
PHONEPUBLICIP, and phone private IP is PHONEPRIVATEIP. NAT is not the
issue since BLF works without a problem.
The output of sip show subscriptions is as follows:
PHONEPUBLICIP 9903 3c26702391f1-yo --
<none> mwi 9903 at devic 003600
======================================================================
----------------------------------------------------------------------
(0124564) svnbot (reporter) - 2010-07-14 17:58
https://issues.asterisk.org/view.php?id=17398#c124564
----------------------------------------------------------------------
Repository: asterisk
Revision: 276571
U trunk/channels/chan_sip.c
------------------------------------------------------------------------
r276571 | jpeeler | 2010-07-14 17:58:23 -0500 (Wed, 14 Jul 2010) | 21
lines
Fix MWI notification transmission problems over SIP.
MWI updates were not being sent if no messages were found in the event
cache.
This was corrected since a phone may need to clear its MWI status
configured
previously from another mailbox.
Upon module or sip reload, MWI updates could not be sent due to the
sipsock
socket not being set early enough in reload_config. The code handling the
descriptor assignment and such has simply been moved before the call to
build_peer.
Issuing a sip reload cleared the IP address of the peer, but skipped
checking
the database for registration information. The database is now checked
both
for sip reload and actually reloading the module.
If a transmission occurs before the do_monitor thread has started, do not
attempt to send a signal to it.
(closes issue https://issues.asterisk.org/view.php?id=17398)
Reported by: ip-rob
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=276571
Issue History
Date Modified Username Field Change
======================================================================
2010-07-14 17:58 svnbot Checkin
2010-07-14 17:58 svnbot Note Added: 0124564
======================================================================
More information about the asterisk-bugs
mailing list