RestComm / restcomm-ios-sdk

iOS Mobile SDK to easily integrate communication features (WebRTC, messaging, presence, voice, video, screensharing) based on RestComm into native Mobile Applications
http://www.restcomm.com/
GNU Affero General Public License v3.0
39 stars 43 forks source link

Add support for IPV6 #487

Open ForGuru opened 7 years ago

ForGuru commented 7 years ago

I am experimenting on RestComm and found that it doesn't connect / Register from IPV6 network.

Any Idea how to handle IPV6 if iOS device is connected on IPV6 Network.

Same device works fine when I connect with IPV4 Network

2016-11-04 17:54:24.324882 restcomm-olympus[1584:445256] (ssc_sip.mm:2001) REGISTER: 503 DNS Error Nov 4 17:54:24 restcomm-olympus[1584] : (ssc_sip.mm:2001) REGISTER: 503 DNS Error 2016-11-04 17:54:24.325213 restcomm-olympus[1584:445256] (ssc_sip.mm:2010) REGISTER failed: 503 DNS Error Nov 4 17:54:24 restcomm-olympus[1584] : (ssc_sip.mm:2010) REGISTER failed: 503 DNS Error 2016-11-04 17:54:24.327537 restcomm-olympus[1584:445082] (RCDevice.m:427) [RCDevice didSignallingError: { "NSLocalizedDescription" : "Error connecting to Restcomm: service unavailable"

atsakiridis commented 7 years ago

Very interesting finding. We haven't had time to test ipv6 so far, and probably won't be able to for the foreseeable future. Would you be interested in contributing it? Sofia SIP already supports it and webrtc library should support it also if I'm not mistaken. So it's a matter of tweaking the SDK to properly use those underlying facilities and testing it.

We 'll be here to support you of course with everything you need :)

ForGuru commented 7 years ago

I will be happy to contribute

atsakiridis commented 7 years ago

@ForGuru, awesome :). When do you think is a good time for you to start?

ForGuru commented 7 years ago

I have already started some work. Please share your details so we can have some discussion on this

atsakiridis commented 7 years ago

Hi @ForGuru and sorry for the delay. Can you please read & sign the Contributor License Agreement at https://telestax.com/open-source/#Contribute so that we can get started? I will then contact you by email to start a discussion on this

ForGuru commented 7 years ago

Hi @atsakiridis I have submitted the form on the provided link. Please check it.

atsakiridis commented 7 years ago

Thanks @ForGuru, just replied

atsakiridis commented 7 years ago

@ForGuru did you get a chance to move this forward?

atsakiridis commented 7 years ago

This is pretty important, so I'm bumping up priority. Most work will probably go into testing in proper env and verifying that in IPV6-only env all is good

atsakiridis commented 7 years ago

A very useful link for this from Apple is Supporting IPv6 DNS64/NAT64 Networks. Let's check when we implement IPv6