Closed basncy closed 11 months ago
As this issue is affected by the external network environment and push mechinism unchangeable on the iOS platform in a short time, close this issue. I mean the push-wakeup-connect-register mechinism and bad international network connectivity together result in the sip INVITE timeout.
The purpose is to build stable network connectivity with a third relay between linphone client and official linphone SIP server.
My network is very poor to sip.linphone.org official server, about 50% packets lost. and I have a server that acts as relay/proxy/middle server to provide excellent network connectivity between linphone client and official server. How could I set up that server to relay the SIP signal(INVITE/MESSAGE) to the linphone official server?
I tried port forwarding but failed, it asks me to re-enter the password due to credit failure when sending a new message.
my relay server side: method 1, with iptables: ip6tables -t nat -A PREROUTING -p tcp --dport 5221 -j DNAT --to '[2001:41d0:700:1080::bb]:5228' method 2, with nginx stream: stream { server { listen [::]:5221 ipv6only=off; proxy_pass sip.linphone.org:5228; } } client side: (credit error happens when sending message)