AT&T VVM provisioning not complete despite receiving STATUS SMSes
<!-- INSTRUCTIONS
What not to report
- Bugs in unofficial builds or anything not downloaded from our official portal
- Missing Builds
- Problems with the website
- Asking for device support
- Feature requests
If you need help, please see https://wiki.lineageos.org/how-to/bugreport#android-bugs for more detailed instructions on how to report bugs or https://www.lineageos.org/community/ for ways to get in touch with the community.
Anything between <!- - and - -> won't be shown when your issue is created.
-->
## Expected Behavior
<!--- Tell us what should happen -->
VVM provisioning completes successfully after carrier (AT&T) sends VVM STATUS sms
## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->
Dialer app continues to show VVM status as "Activating". Carrier VVM app provisioned without issue.
Multiple variants of `//VVM:STATUS` messages are showing up throughout this process:
* The first one has an empty IMAP port (`ipt`) field and IMAP/SMTP username containing the string `CLIENT`. This is coming about once per minute for 5-10 minutes at a time:
`//VVM:STATUS:st=R;rc=0;tui=;srv=2:vvm.mobile.att.net;dn=;ipt=;spt=587;u=4:<tttttttttt>:A:CMSGROUP<ggggg>:ms06:CLIENT:<nnnnn>;pw=<pppppp>;lang=eng.1öspa.1;g§len=60;v@@@@@@10;pw§len=4-15;smtp§u=4:<tttttttttt>:A:CMSGROUP<ggggg>:ms06:CLIENT:<nnnnn>;smtp§pw=<pppppp>;vtc=B;vt=1`
* The second one has `ipt=143` and IMAP/SMTP username containing the string `WEB`. This is coming in much less frequently (appears to coincide with changing APN and when service was initially transferred):
`//VVM:STATUS:st=R;rc=0;tui=;srv=2:vvm.mobile.att.net;dn=;ipt=143;spt=587;u=4:<tttttttttt>:A:CMSGROUP<ggggg>:ms06:WEB:<nnnnn>;pw=<pppppp>;lang=eng.1öspa.1;g§len=60;v@@@@@@10;pw§len=4-15;smtp§u=4:<tttttttttt>:A:CMSGROUP<ggggg>:ms06:WEB:<nnnnn>;smtp§pw=<pppppp>;vtc=B;vt=1`
(`<tttttttttt>` is the device's phone number, `<ggggg>` and `<nnnnn>` are unknown 5-digit IDs, and `<pppppp>` is my voicemail PIN. All values are the same between both payloads)
In both cases, some things that stuck out to me were:
* The Destination Number (`dn`) field is also empty.
* The `lang` field suggests a possible encoding problem (`lang=eng.1öspa.1` should be `lang=eng.1|spa.1` - 0x7C is `|` in ISO 8859-1/Windows-1252, but `ö` in the GSM charset)
I found an earlier VVM config payload in #5088 - another couple of variations that stuck out:
* Different IMAP port (5143 vs 143)
* Username contains string `OMTP` in the earlier payload vs `CLIENT`/`WEB` - this string is presumably opaque but might suggest differences in server-side config
I didn't see any relevant errors when running `logcat -e "dialer|voicemail"`, but I might be misusing logcat.
## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
* Transfer existing (4G, non-VVM/5G) AT&T service to new AT&T 5G SIM
* Install SIM into LOS21-flashed device
* Wait for carrier to provision VVM and send `//VVM:STATUS;st=R;` messages like the one(s) described above.
* Check Dialer VVM status (still "activating")
## Device information
<!--
THIS SECTION IS MANDATORY. If it is not filled out correctly, your issue will be marked as invalid.
The following is a partially filled out example. It will be ignored by the bot that processes issues, even if the information in the example is updated.
Please fill out the second (blank) copy with your actual device information instead. The device codename can be found at https://wiki.lineageos.org/devices/, and most of the other required information is visible when navigating to "About phone" in the Settings and clicking on the "Android version" item.
/device redfin
/version lineage-20
/date 2023-03-22
/kernel Linux localhost 4.19.261-ga3e87045cf37 #1 Wed Mar 22 06:26:12 UTC 2023
/baseband g7250-00247.1-230113-B-9488784
/mods Google Apps, F-Droid
-->
/device salami
/version lineage-21
/date 2024-03-15
/kernel Linux localhost 5.15.148-g25f22387da99 #1 SMP PREEMPT Fri Mar 15 16:52:10 UTC 2024
/baseband Q_V1_P14
/mods Google Apps (MindTheGapps), Magisk
<!-- Replace the following line with "I have read the directions" -->
I have read the directions.
issue