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

High battery consumption with proxies that don't support IMDN #522

Open
brianjmurrell opened this issue Mar 26, 2019 · 0 comments

Comments

@brianjmurrell
Copy link

commented Mar 26, 2019

When configured to use a proxy that doesn't support IMDN (I.e. Asterisk AFAIK), linphone-android will consume a lot of battery repeatedly sending IMDN messages to the proxy only to receive SIP/2.0 415 Unsupported Media Type responses. This happens repeatedly, draining battery.

A work-around is to set im_notif_policy=none in the [sip] section of linphonerc and build a custom version of the app.

But for people using a version from a repository, this is not possible. There are two solutions here:

  1. Provide a UI element to disable IMDN
  2. Don't repeatedly send IMDN messages after receiving a SIP/2.0 415 Unsupported Media Type response from a proxy.

The first solution of course requires the user to know that their proxy doesn't support IMDN and disable the option. The second option is more automatic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.