VoiceMail notification pretends there are 255 messages. It is not true there are only 2
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | indicator-messages (Ubuntu) |
Undecided
|
Unassigned | ||
| | ofono (Ubuntu) |
High
|
Tony Espy | ||
Bug Description
Mako build #175
The VoiceMail notification indicates there are 255 voice messages (cf screenshot) on voice mail while there were only 2 new messages.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: indicator-messages 13.10.1+
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.5-0ubuntu3
Architecture: armhf
Date: Wed Aug 6 11:57:43 2014
InstallationDate: Installed on 2014-08-06 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140806-020204)
SourcePackage: indicator-messages
UpgradeStatus: No upgrade log present (probably fresh install)
| tags: | added: qa-daily-testing rtm14 |
| Bill Filler (bfiller) wrote : | #2 |
| Changed in indicator-messages (Ubuntu): | |
| status: | New → Invalid |
| Changed in telephony-service: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| assignee: | nobody → Tiago Salem Herrmann (tiagosh) |
| Tiago Salem Herrmann (tiagosh) wrote : | #3 |
Bill debugged this issue and this is what we found:
http://
Looks more like an ofono bug to me. I will reassign.
| affects: | telephony-service → ofono |
| affects: | ofono → ofono (Ubuntu) |
| Changed in ofono (Ubuntu): | |
| status: | Confirmed → Triaged |
| assignee: | Tiago Salem Herrmann (tiagosh) → Jussi Kangas (jkangas) |
| Jussi Kangas (jkangas) wrote : | #4 |
Tested with Anritsu in simulated GSM and UMTS networks, but nothing comes through. Since ubuntu-touch ofono does not support UNSOL_RESPONSE_
| Jussi Kangas (jkangas) wrote : | #5 |
So what I think is happening here is that voice call notification messages are stored to SIM ( as they should in my opinion, see ETSI TS TS 123 038) and not really read ever. Count is read at startup from the SIM and it just keeps rising.
I can reproduce this in the lab now but I need some extra digging to verify the details.
| tags: | added: touch-2014-09-25 |
| Jussi Kangas (jkangas) wrote : | #6 |
How to reproduce case:
- Put your SIM card to Iphone Iphone 4.
- Send voice mail message to the phone with SIM.
- Move card to ubuntu-touch phone.
- MessageCount in voicemail interface is 255.
If I check number of voice mail messages waiting in elementary file EF_MWIS in SIM by Aspects Spy I see value 11111111b when after receiving the messages by Mako or old Nokia phone I see 00000001b. I think this is some sort of bug with certain Qualcomm modems ( Originator reported that his reference phone was about year and half old Sony Xperia with unspecified model number ).
Ofono is not doing the writing, modem is doing that, so we cannot change that.
As Alfonso correctly pointed out in our telco, Ofono not notifying the client in run-time if voice mail message is stored directly to SIM is a separate issue and fixing that would not fix reported problem.
| Tony Espy (awe) wrote : | #7 |
Just tested RTM #39 on mako with AT&T SIM. As screenshot shows, the indicator shows two waiting messages.
| Tony Espy (awe) wrote : | #8 |
Also tested RTM #44 with krillin, and I get a different result yet again. This time the indicator just states "VoiceMail Messages" with no count. This is using a single T-Mobile pre-paid SIM in slot #1.
| Tony Espy (awe) wrote : | #9 |
As I'd mentioned before, there are numerous methods of indicating voice-mail waiting message counts. It appears that some of these methods work, and some don't.
It seems we have more investigation needed.
| Jussi Kangas (jkangas) wrote : | #10 |
I recommend to check the behaviour in reference phone with those SIM cards. I would not be surprised if T-Mobile for example just does not update the count. Also it would be interesting to know what was your exact test sequence. Did you see the lp1353379-
| Tony Espy (awe) wrote : | #11 |
@Jussi
My test is simple. Start with a SIM with 0 voicemail messages waiting. Do the following steps twice:
1. Call the Ubuntu phone
2. Decline the call
3. Leave a message
I double-checked T-Mobile on mako, and the behavior is the same, so I believe you're correct about T-Mobile not updating message counts. That said, AT&T works fine for me on mako. I unfortunately can't test AT&T because my account appears to have been screwed up, so I will have to try and resolve tomorrow.
It seems like ofono *is* getting notified of the new message, it's just the count itself which isn't being handled correctly. I wonder if we could pin this down via using OFONO_RIL_TRACE on both devices and compare the data?
Have you been able to reproduce with a real network? If not, then perhaps we may need to create an instrumented version of ofono to try and catch this bug.
| Jussi Kangas (jkangas) wrote : | #12 |
As said, commercial networks do not support this feature around here. Voice mail message notification comes as regular sms message here. But you can trust that simulation works correctly. It has been used with several enough phones. Message going straight to the sim is a valid case.
And as said, it looks like that 255 is coming from using the card in different phone that updates the SIM differently. If that is wanted to be fixed I think easiest and quickest solution is stop reading file from the SIM. If we wish, we could enhance that solution by reading the value from messages. Third option is not to read the value before new voice mail message.
However, in my opinion this is a trivial case. After user checks the voice mails from network network should send new message that should update the count correctly. Problem with card that has been moved from one phone to another should therefore be shortlived.
| Changed in ofono (Ubuntu): | |
| assignee: | Jussi Kangas (jkangas) → nobody |
| Changed in ofono (Ubuntu): | |
| assignee: | nobody → Tony Espy (awe) |
| Changed in ofono (Ubuntu): | |
| status: | Triaged → Confirmed |
| Tony Espy (awe) wrote : | #13 |
Just reproduced on krillin running RTM image #120 with an AT&T SIM ( slot 1 ) and a T-Mobile SIM ( slot 2 ).
Steps to reproduce:
1. Verify T-Mobile VM mailbox is empty.
2. Call T-Mobile number, decline call and leave a messge.
3. Verify that VM notification is received. Krillin indicates "Voicemail messages waiting" with no message count
4. Call number again, decline and leave a second message
5. No new VM notication. Existing notification still says "Voicemail messages waiting"
6. reboot the phone
7. VM notification now reads "255 Voicemail messages waiting"
Output from list-modems shows:
[ org.ofono.
| Tony Espy (awe) wrote : | #14 |
Leave a 3rd message, indicator is reset to "Voicemail messages waiting" ( no count ).
Reboot again and VM still reads the same ( no count ). Verified that VoicemailMessag
| Tiago Salem Herrmann (tiagosh) wrote : | #15 |
I managed to reproduce this bug on mako with a t-mobile sim card in a dual boot device, and I noticed that android also lists 255 messages, so I believe this bug is in a lower level.


I'm seeing this with krillin build 40 on rtm
Indicator always showing 255 voicemail messages
I have a dual sim setup