Re: [Freeswitch-users] 2 FS with shared database, cannot call subscribers on different servers
We've encountered something like this before and it ended up being a NAT issue. Users could receive calls from the server they are registered to because the registration would open a pinhole in their router. However, they could not receive calls from the other instance (no pinhole). We couldn't find a way around this. I'm not sure if this is your same issue, but maybe this will help debug. Regards, Lyle Pratt
My setup is as follows: Domain name is fs.my-domain.com. This domain contains 2 A records pointing at IPs for fs1.my-domain.com and fs2.my-domain.com. Each FreeSWITCH server, fs1 and fs2, runs the same config files and domains for the users are fs.my-domain.com. They share the same database on db.my-domain.com. Calls going and out from each respective server, but when a user is trying to call a user who are on the same server calls fails. It's random which server they land on as the dns is doing round robin dns between fs1 and fs2. If two users lands on the same server everything works. I will try and get debug info. On Monday, November 23, 2015, Lyle Pratt <lylepratt@gmail.com> wrote:
We've encountered something like this before and it ended up being a NAT issue. Users could receive calls from the server they are registered to because the registration would open a pinhole in their router. However, they could not receive calls from the other instance (no pinhole). We couldn't find a way around this.
I'm not sure if this is your same issue, but maybe this will help debug.
Regards, Lyle Pratt
Lyle, you are right about the pinhole Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2015-11-23 10:38 GMT-05:00 Lyle Pratt <lylepratt@gmail.com>:
We've encountered something like this before and it ended up being a NAT issue. Users could receive calls from the server they are registered to because the registration would open a pinhole in their router. However, they could not receive calls from the other instance (no pinhole). We couldn't find a way around this.
I'm not sure if this is your same issue, but maybe this will help debug.
Regards, Lyle Pratt
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
for a generasl understanding of load balancing, high availability, and clustering with kamailio (and opensips): http://www.opentelecom.it/cluecon/ClueCon_2015_Load_Balancing_HA.pdf On Wed, Nov 25, 2015 at 8:49 PM, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com> wrote:
Lyle, you are right about the pinhole
Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx
Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH
2015-11-23 10:38 GMT-05:00 Lyle Pratt <lylepratt@gmail.com>:
We've encountered something like this before and it ended up being a NAT issue. Users could receive calls from the server they are registered to because the registration would open a pinhole in their router. However, they could not receive calls from the other instance (no pinhole). We couldn't find a way around this.
I'm not sure if this is your same issue, but maybe this will help debug.
Regards, Lyle Pratt
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
participants (4)
-
Giovanni Maruzzelli
-
Luis Daniel Lucio Quiroz
-
Lyle Pratt
-
Michael Nielsen