[Freeswitch-users] Amazon EC2 Instances - Freeswitch

David Villasmil david.villasmil.work at gmail.com
Sat Jun 5 15:33:51 UTC 2021

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

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

If you don’t see exactly this, something mis-configured somewhere.

Hope this help.

On Sat, 5 Jun 2021 at 15:41, HS <bullehs at gmail.com> wrote:

> David.
> Thanks a lot for taking the time to explain. I think in my hurry to post I
> forgot to add details.
> Instance 1
> Opensips + RTPProxy (Registrar + routing).
> Instance 2
> Freeswitch (IVR/Conferencing/VoiceMail etc.)
> Does that setup make sense? What would be the variables (bind_server_ip,
> external_rtp_ip, external_sip_ip) be please?
> Thanks again.
> _________________________________________________________________________
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> https://signalwire.community
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com


David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210605/832cd946/attachment.html>

More information about the FreeSWITCH-users mailing list