voiceip / tinyphone

Minimalist Windows / OSx / Linux SIP Softphone with API Control
GNU General Public License v3.0
117 stars 36 forks source link

Public address or no incoming voice (media delivery issues) #20

Closed Rysakov1986 closed 3 years ago

Rysakov1986 commented 3 years ago

Hello! I was on vacation and now I have checked my incoming calls, everything works great!

But I have a problem with an incoming voice. (media delivery issues)

I use corp VPN, in microsip "Public address" I select ip corp VPN (172.20.239.15), then there is an incoming voice, if auto, then there is no voice.

In tinyphone, how can I select "Public address"?

I attach tinyphone logs. 17-11-2020-tinyphone.log

kingster commented 3 years ago

Manually configuration of external IP address doesn't look a longterm solution as the vpn IP address would change everytime one reconnects. It seems that you are having misconfigured NAT issue. There are better ways to solve this using STUN/TURN, which the sip protocol supports.

Can you try turning on "stun" in your microsip configuration ( type in your corp stun endpoint similar to stun.l.google.com:19302 in the box) and in "Public address" leave it as auto, and try a call? If this works for you I can enable stun options on tinyphone.

Rysakov1986 commented 3 years ago

our company uses Jitsi (or Zoiper before) and it probably automatically uses the SIP UDP Transport Started, **Published Address** 192.168.1.67:5060 // log tiny-softphone which is used by VIA. Via: SIP / 2.0 / UDP **172.20.239.15**:5060;rport;branch=z9hG4bKPja5b2c3303fec4d558bb21aae378aa8d0. // log tiny-softphone

Therefore, we don`t use STUN

kingster commented 3 years ago

Okay,

I have made changes to use the IP discovered in the registration step to be used in SDP in #21

Can you please try with the latest build of this PR.

Rysakov1986 commented 3 years ago

Super! I checked it, it works great!