BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
402 stars 205 forks source link

[Bug]: Linphone Freezes when answering a call #690

Open flaviogoncalves opened 2 years ago

flaviogoncalves commented 2 years ago

Context

I'm evaluating Linphone as a softphone for our company

General information

Expected behaviour

I wanted to receive a call using the PCMU codec, but linphone desktop freezes (not reponsive for SIP library). I have to go to Task Manager to stop the software and try again. It is able to make calls to other phones.

To Reproduce

  1. Make a call from any other from linphone Android to Linphone destop. Linphone Android is working just fine.

Additional context

No response

SDK logs URL

https://www.linphone.org:444//tmp/6303c4a59c6ac_61bb9059d24b574b9bbd.gz

julonexus commented 2 years ago

Hi First, avoid using UDP : https://wiki.linphone.org/xwiki/wiki/public/view/Linphone/Good%20practices%20for%20using%20SIP/

Second, do you receive the receiving call notification? If not, check with your OS/Antivirus if they don't block the application.

flaviogoncalves commented 2 years ago

Thanks for the answer. I have changed to TLS, but I had the same problem. I've removed silence suppresions, same problem. I've removed the header Allow-Events, same problem. It seems to me that it is an OS stuff. The program simply freezes after receiving the call. It is able to send a call normally. I've tried also disabling the windows defender firewall, no luck too. Maybe a way to remove completely linphone and reinstall from scratch. I'm getting out of new ideas on how to solve it. My next step is to use a simple asterisk with linphone.

julonexus commented 2 years ago

I don't think it is related to SIP or servers. Your logs show that a call notification has been created and there are no errors about it. If the application freeze then I guess it is stuck when showing this popup notification. and then, it is mostly related to a GUI behavior (OS, third party or drivers that block it). Maybe your system prevent creating multiple windows with no decoration, I don't know. But my best shot is to try to answer at "why don't you see this popup?" .

flaviogoncalves commented 2 years ago

I can see the popup, but frozen.

flaviogoncalves commented 2 years ago

I've discovered. Two screens, the popup was popping up in the second screen. I've removed the second screen and it worked. May eventually be related to the LG hdmi audio driver. After removing the second screen the call is going thru.