DoubangoTelecom/imsdroid

NgnNetworkService - SIP Stack is not registering on some devices

Opened this issue · 0 comments

On certain devices, the Network service is picking the wrong IP combo, and Doubango doesn't seem to work with IPV6.

org.doubango.ngn.services.impl.NgnSipService: SIP service using default connection ->id = 1, name = wlan0, transport = TLS, IPversion = ipv4, Up = true, useIPv6 = false, localIP = 2603:3005:17bd:8000:9297:f3ff:feab:37da,
I have fixed the problem with this patch, just change extension to diff or patch

NgnNetworkService_and_NgnSIPService.txt

With patch - Works normally.
org.doubango.ngn.services.impl.NgnSipService: SIP service using default connection ->id = 1, name = wlan0, transport = TLS, IPversion = ipv4, Up = true, useIPv6 = false, localIP = 10.1.20.204, localPort = 0, ProxyHost = sip.blhealthcare.com, ProxyPort = 5061

Please can someone review my patch and tell me if it's OK? I don't want to use my code if it might break something I have missed.