Issue with Linphone Application

5 respuestas [Último envío]
raghavgururajan
Desconectado/a
se unió: 09/24/2018

Hello Folks!

The linphone always throwing the error "Could not start tcp transport on port 5060, maybe this port is already used.". My user account is in 'plugdev' group and also port 5060 was not occupied when I did `sudo netstat -l`.

Any ideas?

Regards,
RG.

raghavgururajan
Desconectado/a
se unió: 09/24/2018

UPDATE 1:

When I choose any of the protocols UDP, TCP or TLS, I get the same error with the respective protocol name.

When I manually change the port number, I get the same error with respective port number.

raghavgururajan
Desconectado/a
se unió: 09/24/2018

UPDATE 2:

The linphone application work fine when run it from terminal as root user (su -l root).

I wonder what's causing the issue when I run it as regular user.

EDIT:

I spoke too soon. I get same error with root.

lutes
Desconectado/a
se unió: 09/04/2020

I cannot tell why running as root bypasses the problem, but someone posted a patch along with its explanation for a similar problem occurring years ago in the 3.6.1-3 (oldstable) version, which is the version Trisquel 9 ships with:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743494#20

In that case, the bug was triggering an IPv4 vs. IPv6 format mismatch. IPv6 might be selectively disabled for some groups or users on your system, which could explain why the error would not happen with root. Of course, your problem might also have a completely different cause.

raghavgururajan
Desconectado/a
se unió: 09/24/2018

Thanks!

I just edited one my comments. I even get error as root.

Nevertheless, I will try tinkering with IPv4 VS IPv6.

lutes
Desconectado/a
se unió: 09/04/2020

If I understand the patch explanations correctly, you might be able to work around the bug by telling Linphone to use IPv6 instead of IPv4.

Else, you might want to try other SIP clients like Ekiga or Jitsi.