How can i make a handshake between two clients using a relay server?

Actually my first approach was using stun to discover ip and port, but it didn’t work in some cases. thats why i m trying to use the Turn approach.