You need to configure rtpproxy in multihomed mode (bridge mode), so it does external/internal relay of rtp. Then opensips will instruct rtpproxy to do it.
On freeswitch just configure the private IPs.
That’s really all there is to it. If it’s configured correctly, you should see in the SDPs the following:
- Client—[INVITE]—>opensips: the client will send its public IP (or maybe its private, but if opensips is doing NAT translation, shouldnt matter, but I suggest testing with a client which sends its public IP)
- Opensips—>[INVITE]—>freeswitch: opensips should send rtpproxy’s private IP
The on the 200 OKs:
- Freeswitch—[200 OK]—>opesnsips: fs should send its private IP
- Opensips—[200 OK]—>client: opensips should send rtpproxy’s public IP address.
If you don’t see exactly this, something mis-configured somewhere.
Hope this help.
--
Regards,
David Villasmil
phone: +34669448337