datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

Client sending private IP in VIA header #154

Open rcidt opened 5 years ago

rcidt commented 5 years ago

@datso any idea why the client would use the client private IP instead of a the public IP?

I am debugging an issue where this is happening. Even weirder is that this is happening only when sending the invites to a particular sip trunk.

Any idea what could be going on?

rcidt commented 5 years ago

UPDATE: This happens when the client is connected to a VPN. Any idea what's going on @datso ?

mason-chase commented 5 years ago

I think app must make STUN call after vpn connect/disconnect to get the latest external IP