Freeswitch behind opensips behind NAT
I'm trying to setup freeswitch with opensips on EC2 I'm using opensips dispatcher to send registrations to freeswitch and Load Balancer to send calls to freeswitch this I took from http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS I have opensips ext-sip-ip and ext-rtp-ip on external profile set to my external IP, and if I connect the phones directly to freeswitch I can hear sound. But when I go thru Opensips I can register the phone to freeswitch, but when I try calling the phone is trying to connect to RTP on my internal address. I'm using internal address to connect from one server to the other Does anyone know how I can load balancer send the external address is getting from Freeswitch and not the internal IP is using to talk to the other server thanks in advance Jose Suero
Hi Jose, Your problem most likely related to opensips nat traversal. It is not (only) freeswitch issue. You can try to use opensips nathelper module in combination with rtpproxy. Take your attention on on_reply routes in opensips. Regards, Arsen On Thursday, August 1, 2013, Jose Suero wrote:
I'm trying to setup freeswitch with opensips on EC2 I'm using opensips dispatcher to send registrations to freeswitch and Load Balancer to send calls to freeswitch this I took from http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS
I have opensips ext-sip-ip and ext-rtp-ip on external profile set to my external IP, and if I connect the phones directly to freeswitch I can hear sound. But when I go thru Opensips I can register the phone to freeswitch, but when I try calling the phone is trying to connect to RTP on my internal address. I'm using internal address to connect from one server to the other
Does anyone know how I can load balancer send the external address is getting from Freeswitch and not the internal IP is using to talk to the other server
thanks in advance
Jose Suero
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Arsen.
Hi, I would like to play a custom message when someone joins a conference. I know I can play a message to each joiner individually, but would rather play the message into the conference as a whole. I have noticed that when the first member joins the conference, there is a delay of up to a few seconds after they join before they can hear the announcement, so the initial part of the announcement is missed. It doesn't seem to happen for subsequent joiners. I have tried adding a delay before playing the message, but it doesn't reliably work. Any ideas why this initial audio missing occurs, and if there is a workaround? Thanks, David
participants (3)
-
Arsen
-
D D
-
Jose Suero