Search code examples
voipstun4g

A STUN and TURN server that work under 3G/4G Network


It is very interesting that I can actually make a mVoIP service from the scratch. I finally could make a call using OpenSIPs source through SIP protocol. I used external STUN server that helps me to find users' private IP address behind NAT firewalls.

However, the free external STUN server cannot find user's IP address to make a call when a smartphone is on 3G or 4G network. As a programmer, I won't give up to make a mVoIP service. However, I need a help at this time from you guys.

Is there a good way to solve this problem? Thank you.


Solution

  • There can be two problems here:

    -you can't find the correct external address behind all kind of NAT. This depends on the NAT type only

    -some mobile operators blocks STUN. You can add some modified stun or a simple encryption as a workaround