[Freeswitch-users] 2 FS with shared database, cannot call subscribers on different servers

Dave Horton dave at dchorton.com
Wed Nov 25 23:07:52 MSK 2015


Hmm, there is no incoming call (INVITE) attempt in the pastebin for the failed call..


On Nov 25, 2015, at 6:35 AM, Michael Nielsen <mic.niel84 at gmail.com> wrote:

This is from fs1, users do NOT receive call:
http://pastebin.com/enzUVDCf <http://pastebin.com/enzUVDCf>

This is from fs2, user MAKES call:
http://pastebin.com/g3uCRd87 <http://pastebin.com/g3uCRd87>

Both logs should contain registering clients.

On Tue, Nov 24, 2015 at 8:16 PM, Giovanni Maruzzelli <gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>> wrote:
would you please do from fs_cli:

sofia global siptrace on

on both freeswitch servers, do again the call, and then pastebin the results (in both servers) ?


On Tue, Nov 24, 2015 at 8:07 PM, Michael Nielsen <mic.niel84 at gmail.com <mailto:mic.niel84 at gmail.com>> wrote:


---------- Forwarded message ----------
From: Michael Nielsen <mic.niel84 at gmail.com <mailto:mic.niel84 at gmail.com>>
Date: Tuesday, November 24, 2015
Subject: 2 FS with shared database, cannot call subscribers on different servers
To: Luis Daniel Lucio Quiroz <luis.daniel.lucio at gmail.com <mailto:luis.daniel.lucio at gmail.com>>


This is my log when it fails:
http://pastebin.com/ZqLbcGg4 <http://pastebin.com/ZqLbcGg4>

Whenever calls are coming into fs1 it cannot receive users who are registrered via fs2 and vise versa.
Whenever users are registrered on the same server they can reach each other.
They register with the same domain (fs), because my DNS is using round robin between fs1 and fs2.


On Mon, Nov 23, 2015 at 8:35 PM, Luis Daniel Lucio Quiroz <luis.daniel.lucio at gmail.com <>> wrote:
Is this what you are looking for?
https://okay.com.mx/es/emprendedores/balanceo-cluster-y-alta-disponibilidad-con-fusionpbx.html <https://okay.com.mx/es/emprendedores/balanceo-cluster-y-alta-disponibilidad-con-fusionpbx.html>

change the elements to fit your needs, it shows the main idea only

Luis Daniel Lucio Quiroz
CISSP, CISM, CISA
Linux, VoIP and much more fun
www.okay.com.mx <http://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 6:18 GMT-05:00 Michael Nielsen <mic.niel84 at gmail.com <>>:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com <http://fs1.my-domain.com/> and fs2.my-domain.com <http://fs2.my-domain.com/>.

I've got a DNS record with 2 A-records for the servers.

When two users ends up on he same server they can call each other. If they land on different servers they cannot. Then they endt up in voicemail.

I'm running the servers with a shared database in postgresql.

Should I do anything else besides db in the core for FS?

They are registrering with the same "main" domain which is fs.my-domain.com <http://fs.my-domain.com/>.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618 <tel:%2B39-347-2665618>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151125/7eeeeeef/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list