Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow_voicemails? #110

Closed
Biscorn opened this issue May 22, 2023 · 10 comments
Closed

Allow_voicemails? #110

Biscorn opened this issue May 22, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@Biscorn
Copy link

Biscorn commented May 22, 2023

Hi !

I am using this beautiful app to make few backups ! But I got a problem where it says, "Please set 'allow_voicemails=true' in the URI.

I am not sure how to do it nor handle it with an Android.

Nevertheless, I tried few things in my browser like that : content://call_log/calls?allow_voicemails=true, but the error continue.

I also opened the XML file through VS to check if a option was there, but nothing too.

What could be the solutions and how could I fix it ?

Thanks 💯

@tmo1
Copy link
Owner

tmo1 commented May 23, 2023

Thank you!

This is an internal Android error. It's not something you can or should address - it seems to indicate that the app needs an adjustment in order to be able to properly access voice mail entries in the call logs:

See also:

I've never seen this error before, though. Please post a logcat, and please report exactly what version of Android you're running (and whether it's vanilla Android, or some sort of variant).

@tiberious726
Copy link

tiberious726 commented Jun 15, 2023

I'm running into the same error message. I've attached a logcat . I'm running GrapheneOS build TQ2A.230505.002.2023060700

I do have some calls with an automatically dialed extension in my history, which I suspicious of due to this error in the log:

06-15 15:35:45.392 14972 15083 W DialerDialerPhoneNumberUtil: com.android.dialer.phonenumberproto.DialerPhoneNumberUtil.parse:143 failed parsing number        
06-15 15:35:45.392 14972 15083 W DialerDialerPhoneNumberUtil: Error type: TOO_LONG. The string supplied is too long to be a phone number.  

sms-io-logcat.txt

@tmo1
Copy link
Owner

tmo1 commented Jun 16, 2023

I'm running into the same error message. I've attached a logcat . I'm running GrapheneOS build TQ2A.230505.002.2023060700

Thank you - I will look into this when I get a chance.

@tmo1 tmo1 added the bug Something isn't working label Jun 16, 2023
@tmo1 tmo1 self-assigned this Jun 16, 2023
@tmo1
Copy link
Owner

tmo1 commented Jun 18, 2023

I'm running into the same error message.

Where is the "Please set 'allow_voicemails=true' in the URI." message appearing? I don't see it in the logcat. If it's some kind of pop-up message, can you post a screenshot?

@Biscorn
Copy link
Author

Biscorn commented Jun 20, 2023

Hey ! Sorry for my delayed answer because of my work.
I will try to do a logcat very soon and send it to you but as Tiberious, I am running the same version of GrapheneOS.

I though it was an hardware problem (for eg. to reconnect my SIM card etc.), but nothing happened and the same message occur.

When you go to the app, click on "import calllog" function with an XML file, we get this message. In my case, it restore one to four voicemail but then, a pop-up appear on the application.

@lividhen
Copy link

lividhen commented Aug 9, 2023

Screenshot and logcat

Screenshot_20230809_034017_SMS Import  Export
logcat.zip

@tmo1
Copy link
Owner

tmo1 commented Aug 14, 2023

It turns out that this is a trickier and more frustrating - and poorly documented - problem than I first thought:

  • Accessing voicemail requires the use of a special URI / query parameter, as per here, here and here, but:
  • Using this URI requires "READ_VOICEMAIL and WRITE_VOICEMAIL permissions to read and write voicemails," however:
  • The voicemail permissions are only available to privileged / system apps, and there's no clean way to grant them to ordinary apps.

It seems, then, that the best we can do is to try to exclude voicemail entries from call log import. I'm attaching a build that does this - please test and report your results.

@lividhen
Copy link

Skipping voicemail seems to work just fine.

@tmo1
Copy link
Owner

tmo1 commented Aug 25, 2023

Skipping voicemail seems to work just fine.

Thanks! If no one reports the problem persisting with the fix I posted within the next day or two, I'll commit it and close this issue.

@lividhen
Copy link

Awesome!

@tmo1 tmo1 closed this as completed in 09fadbe Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants