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

Dave Horton dave at dchorton.com
Tue Nov 24 22:58:09 MSK 2015


We can see from the trace that it is at least trying to connect the caller…sending the INVITE and then canceling some seconds later.

As the other poster suggested, it would be helpful to see the sip trace.  Also, after turning up the sip log levels (sofia global siptrace on) restart the destination phone/device for the called user, so we can see it register and see what address it registering and where it is coming from.  That will be necessary to evaluate where the INVITE is being sent.

Do you have some sort of outbound proxy in the scenario?  I noted with interest this line:

3b09b179-5273-4453-a62c-cddd2715f2f4 2015-11-24 03:45:10.665870 [DEBUG] sofia_glue.c:1228 sip:+4465488423 at 94.18.215.178:64376;transport=tls;registering_acc=sky_my-domain_xyz Setting proxy route to sofia/internal/%2B4565488423 at 10.0.5.52:64376


Dave


On Nov 24, 2015, at 2:07 PM, Michael Nielsen <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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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/20151124/77817560/attachment.html 


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