[Home]

Summary:ASTERISK-28217: mwi broken?
Reporter:Michael (ringo)Labels:patch pjsip
Date Opened:2018-12-19 17:39:19.000-0600Date Closed:2018-12-27 09:00:18.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:16.1.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:debian 9 amd64 asterisk v16.1.0 LTS using pjsip mysql realtimeAttachments:( 0) aebb822.diff
Description:just upgraded from v16.0.0 to v16.1.0 and noticed message waiting indicator broke.  After leaving a new voicemail, i don't see a NOTIFY message heading to the phone.

Also, during a REGISTER I do see a following NOTIFY but the message waiting/info is incorrect:

Messages-Waiting: no.
Voice-Message: 0/0 (0/0).

reads 0/0 when there is 1/0
Comments:By: Asterisk Team (asteriskteam) 2018-12-19 17:39:20.007-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2018-12-21 07:46:35.753-0600

Please try applying this patch and then seeing if the problem is resolved. It can be applied to Asterisk 16 using: patch -p1 < aebb822.diff

Due to optimizations that were done it exposed a long standing bug which causes this.

By: Michael (ringo) 2018-12-27 08:43:19.722-0600

patch applied and yes it seems to work now.