How to get IPv4 ICE candidates when device IP is IPv6 (iOS device) for below call flow?
Note ;-When iOS device is configued with IPv4 it works well without using NAT64 and media sip flows in ipv4.
Apps(ivp6) to PSTN call flow:-
- IoS App registered with IPv6 address
- NAT64 Linux server maps to IPv4 and sends SIP signalling towards SBC
- TURN option used to transmit RTP packets and it is only configured with ipv4 address only
- From IoS device to TURN Server either mapped IPv6 address used or IPv6 address used
- TURN Server uses public IP for routing media packets
Below is network diagram and call flow:-