Mobile carriers often have NAT firewalls. Try to keep your UDP session alive by sending UDP packets that your application may ignore. Sending every 30 seconds may be required for active NAT mapping.
If the mobile carrier's NAT firewall does not receive a packet from the destination IP / destination IP port / UDP source IP address port, it will remove it and assign a new IP port when the next packet arrives from your application.
source
share