linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] STUN does not work for incoming calls


From: Christian Spielberger
Subject: [Linphone-users] STUN does not work for incoming calls
Date: Thu, 6 Oct 2016 11:15:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

error message:
"ortp-error-Bind socket to 0.0.0.0:7078 failed: Address already in use"

In linphone_call_new_incoming:

I can't understand why linphone_call_init_media_streams is called before
linphone_core_run_stun_tests, because the former binds the rtp ports.

The function linphone_core_run_stun_tests wants to create its own sockets,
bind the same ports, do the STUN handshake, then closes the sockets.

This can't work. So, for incoming calls sock1 is always -1 in
linphone_core_run_stun_tests and the function is exited at:

...
if (sock1==-1) return -1;
...


What is wrong here?

regards,
chris.

-- 
Christian Spielberger
Software Developer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]