linphone-desktop
linphone-desktop copied to clipboard
Prompts for password on startup, works whether or not I enter it
Hi, I checked the other issues but mine seems different.
Using an external Asterisk 16.2.0 server, on TLS. Using Linphone Desktop/4.1.1-655-g95245907.
When I open Linphone desktop, I immediately get prompted to enter my password ("Unable to Authenticate"). However if I wait a couple of seconds, I can see the spinner turn green on my account. At this point I can either re-enter my password, or press cancel, it makes no difference, I can still make calls.
Any ideas? I wasn't sure exactly how to get the desktop logs, but I ran Linphone on verbose mode and attached the output.
I've looked at this more. It looks like the first SIP REGISTER command doesn't include the realm information, so Asterisk sends a SIP 403 unauthorized. In the SIP 403, the realm is mentioned, so Linphone sends a second REGISTER command, this time including the realm information, and succeeds.
it seems to me I have the same problem:
Why Linphone send first REGISTER without realm?
As I understand it - Unauthorized packet is the correct part of the authentication process.
In my case: Desktop 4.2.4 - Qt5.12.5 Core 4.4.9-1-g18c59c7db
I agree this issue isn't fixed. See screenshot, app has successfully authenticated despite asking for my password. Tested with 4.2.4 on Debian using appimage.
There was a workaround about having a registration when no proxy was attached. But it was removed as the process ran fine. So I confirm too this case is still to be fixed.
This is still an issue on the latest version almost one year later.
Is there some workaround?
(Desktop 4.2.5 - Qt5.14.2 Core 4.4.1)