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

Can only connect to Sipgate on phone reboot #1889

Closed
edent opened this issue Mar 25, 2023 · 2 comments
Closed

Can only connect to Sipgate on phone reboot #1889

edent opened this issue Mar 25, 2023 · 2 comments

Comments

@edent
Copy link

edent commented Mar 25, 2023

Hello! Love the software. It's a great way to use SIP since Android disabled it in the native dialler

  1. Describe the bug
    I can connect to Sipgate.co.uk using UDP. I am able to make and receive calls. But if I quit the app and restart it, the account sticks at "connection in progress" for a while and then fails.

If I reboot my phone, the connection works again!

  1. To Reproduce (mandatory)

Add a Sipgate.co.uk account. Place a call. Forcekill or restart the app. Reopen app. Account connection fails.

Reboot the phone and the account connects correctly.

  1. Expected behavior (mandatory)

When I restart the app, the Sipgate connection should reconnect.

  1. Please complete the following information (mandatory)
  • Device: OnePlus 5T
  • OS: Android 13 (Lineage 20)
  • Version of the App 5.06
  • Version of the SDK 5.2.23
  • Where you did got it from F-Droid
  • Please tell us if your Android is a Lineage OS or another variant. Lineage 20
  1. SDK logs (mandatory)

The logs contain phone numbers that I've dialled. Happy to share privately, but not in public.

  1. Adb logcat logs (mandatory if native crash)
    N/A

  2. Screenshots (optionnal)

N/A

  1. Additional context (optionnal)
@Viish
Copy link
Member

Viish commented Mar 26, 2023

Hi,

To understand what's going wrong after the reboot, I'll need the logs.
You can send them to me at linphone-android@belledonne-communications.com, and don't forget to add a link to this issue.

Cheers,

@Viish
Copy link
Member

Viish commented Mar 27, 2023

Thanks for the logs.

Your problem is that UDP packets for REGISTER aren't being received (or the answer is being lost), so you keep sending REGISTER over and over etc...
As your log doesn't include the case where it works I don't know why the first time the app starts after a reboot it does work.

I see that you are using a sip.linphone.account at the same time, and that will cause the REGISTER to be a bit longer because of the org.linphone.specs params added to the Contact header.

We are working on a specific mode of settings for users in UDP to reduce the packets size to the lowest possible to prevent that, but it's not ready yet...

@Viish Viish closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants