[asterisk-bugs] [Asterisk 0017398]: MWI NOTIFY is not being sent to phones subscribed to events

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jun 12 19:04:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17398 
====================================================================== 
Reported By:                ip-rob
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17398
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
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-06-12 19:04 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
====================================================================== 

---------------------------------------------------------------------- 
 (0123314) ip-rob (reporter) - 2010-06-12 19:04
 https://issues.asterisk.org/view.php?id=17398#c123314 
---------------------------------------------------------------------- 
Additional debugging shows that the ast_event_queue_and_cache(event); is
properly called in queue_mwi_event but there is no event going to the sip
channel.  I have verified the extension and context are set properly in
this event call.  I can't speak to what happens in
ast_event_queue_and_cache since I'm not a C programmer.  If additional logs
are needed please let me know.  As of right now, MWI does NOT work in
1.6.2, period.

I also tried updating to 1.6.2.8 and the problem persists. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-12 19:04 ip-rob         Note Added: 0123314                          
======================================================================




More information about the asterisk-bugs mailing list