PCP/UPnP port mapping not created when using SIP
- Ring version: 20200501-01
- Device model: CyanogenMod 12.1
- Android version: 5.1.1
- What build you are using: F-droid (https://f-droid.org/repo/cx.ring_238.apk)
Steps to reproduce
-
Can you reproduce the bug: at will
-
Steps:
1. Add a SIP account to Jami and enable it 2. Make a SIP call
-
Actual result: No port mappings are created for SIP signalling port or SIP media ports (RTP and RTCP). SDP contains RFC1918 IP address instead of external IP address returned by PCP/UPnP
-
Expected result: Port mappings are created for both SIP signalling and SIP media ports. SDP contains external IP:port (RFC1918 IP can still be included as ICE candidates). NAT keepalive for all mapped port should be disabled when PCP/UPnP is supported
Additional information
My router runs OpenWrt, PCP/NAT-PMP/UPnP is provided by miniupnpd. My network is dual stack, ideally the client should also open IPv6 firewall pinholes.