2 FS with shared database, cannot call subscribers on different servers
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee". On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
But shouldn't FS handle this automatically when they use same database as core? On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
-- Ashwin Kumar Rath
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
I don't think choosing other switch is my solution. Should track-calls be enabled or is that only for recovery purpose? On Monday, November 23, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com> wrote:
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com <javascript:_e(%7B%7D,'cvml','ashwinrath@gmail.com');>> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
track-calls is for HA and should not be needed here. I didn’t see you respond to the poster who inquired whether nat’ed clients are in the mix here? That could definitely be your issue if so. But you also (unless I missed it) haven’t posted any traces, so we can’t even see if the FS is trying to outdial and failing, or not trying because it is not finding the registration in the database for some reason. On Nov 23, 2015, at 12:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote: I don't think choosing other switch is my solution. Should track-calls be enabled or is that only for recovery purpose? On Monday, November 23, 2015, Luis Daniel Lucio Quiroz <luis.daniel.lucio@gmail.com <mailto:luis.daniel.lucio@gmail.com>> wrote: Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> a écrit : But shouldn't FS htdle this automatically when they use same database as core? On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com <javascript:_e(%7B%7D,'cvml','ashwinrath@gmail.com');>> wrote: Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee". On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com <>> wrote: 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@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@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/> -- Ashwin Kumar Rath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@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
Are your phones registering from behind NAT? if yes then it's a NAT issue, as suggested by Lyle Pratt before, the solution for that would be either to put a proxy in front of the serves so that requests to your phones always come from the same IP or you can maybe try port forwarding (on the router in front of the phones) so that the server that doesn't have the registration can still reach the phones. On Mon, Nov 23, 2015 at 12:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I don't think choosing other switch is my solution.
Should track-calls be enabled or is that only for recovery purpose?
On Monday, November 23, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com> wrote:
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
I'm trying to get debug log. It shouldn't be NAT as things work when users are landing on same server. Even if they aren't on same network. On Monday, November 23, 2015, Abaci B <abaci64@gmail.com> wrote:
Are your phones registering from behind NAT? if yes then it's a NAT issue, as suggested by Lyle Pratt before, the solution for that would be either to put a proxy in front of the serves so that requests to your phones always come from the same IP or you can maybe try port forwarding (on the router in front of the phones) so that the server that doesn't have the registration can still reach the phones.
On Mon, Nov 23, 2015 at 12:17 PM, Michael Nielsen <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> wrote:
I don't think choosing other switch is my solution.
Should track-calls be enabled or is that only for recovery purpose?
On Monday, November 23, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com <javascript:_e(%7B%7D,'cvml','luis.daniel.lucio@gmail.com');>> wrote:
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com
wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
from fs_cli console, do a: fs_cli> sofia global siptrace on on both servers, and do some calls until you get one failed. You will have complete sip traces *from Freeswitches vantage points*, eg: what the two freeswitches are seeing. That will tell you all. On Mon, Nov 23, 2015 at 7:03 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I'm trying to get debug log.
It shouldn't be NAT as things work when users are landing on same server. Even if they aren't on same network.
On Monday, November 23, 2015, Abaci B <abaci64@gmail.com> wrote:
Are your phones registering from behind NAT? if yes then it's a NAT issue, as suggested by Lyle Pratt before, the solution for that would be either to put a proxy in front of the serves so that requests to your phones always come from the same IP or you can maybe try port forwarding (on the router in front of the phones) so that the server that doesn't have the registration can still reach the phones.
On Mon, Nov 23, 2015 at 12:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I don't think choosing other switch is my solution.
Should track-calls be enabled or is that only for recovery purpose?
On Monday, November 23, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com> wrote:
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen < mic.niel84@gmail.com> wrote:
> I've got 2 Freeswitch 1.6.2 setup on different servers: > fs1.my-domain.com and 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. > > > _________________________________________________________________________ > 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 >
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
_________________________________________________________________________ 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
The fact that if both phones are registered on the same server it works just makes it look like a NAT issue (not a problem with the router, just that your router doesn't have a pinhole for the IP of the freeswitch it didn't register to) On Mon, Nov 23, 2015 at 1:03 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I'm trying to get debug log.
It shouldn't be NAT as things work when users are landing on same server. Even if they aren't on same network.
On Monday, November 23, 2015, Abaci B <abaci64@gmail.com> wrote:
Are your phones registering from behind NAT? if yes then it's a NAT issue, as suggested by Lyle Pratt before, the solution for that would be either to put a proxy in front of the serves so that requests to your phones always come from the same IP or you can maybe try port forwarding (on the router in front of the phones) so that the server that doesn't have the registration can still reach the phones.
On Mon, Nov 23, 2015 at 12:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I don't think choosing other switch is my solution.
Should track-calls be enabled or is that only for recovery purpose?
On Monday, November 23, 2015, Luis Daniel Lucio Quiroz < luis.daniel.lucio@gmail.com> wrote:
Install fusionpbx, we have call with that already Le 23 nov. 2015 6:38 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen < mic.niel84@gmail.com> wrote:
> I've got 2 Freeswitch 1.6.2 setup on different servers: > fs1.my-domain.com and 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. > > > _________________________________________________________________________ > 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 >
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
_________________________________________________________________________ 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
you must put sofia in database, too sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
Is it the <param name="track-calls" value="true"/> I need to add or an entire postgres connection string? On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
Sorry, I meant: <param name="odbc-dsn" value="dsn:user:pass"/> Should that take care of everything? On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Is it the
<param name="track-calls" value="true"/>
I need to add or an entire postgres connection string?
On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
In internal.xml for sip profiles. On Monday, November 23, 2015, Michael Nielsen <mic.niel84@gmail.com> wrote:
Sorry, I meant:
<param name="odbc-dsn" value="dsn:user:pass"/>
Should that take care of everything?
On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> wrote:
Is it the
<param name="track-calls" value="true"/>
I need to add or an entire postgres connection string?
On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli <gmaruzz@gmail.com <javascript:_e(%7B%7D,'cvml','gmaruzz@gmail.com');>> wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');>> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com <javascript:_e(%7B%7D,'cvml','ashwinrath@gmail.com');>> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com
wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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
-- Ashwin Kumar Rath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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 <javascript:_e(%7B%7D,'cvml','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
I've added odbc-dsn for all 4 profiles (internal.xml, internal-ipv6.xml, external.xml and external-ipv6.xml). I can see that the table sip_registration etc. is created and contains information for my users. However, I'm still only able to call users who are landing on the same FS server. So there's more to it than just adding odbc-dns apparently :( What else do I need? On Mon, Nov 23, 2015 at 1:39 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
In internal.xml for sip profiles.
On Monday, November 23, 2015, Michael Nielsen <mic.niel84@gmail.com> wrote:
Sorry, I meant:
<param name="odbc-dsn" value="dsn:user:pass"/>
Should that take care of everything?
On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Is it the
<param name="track-calls" value="true"/>
I need to add or an entire postgres connection string?
On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli <gmaruzz@gmail.com
wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee".
On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen < mic.niel84@gmail.com> wrote:
> I've got 2 Freeswitch 1.6.2 setup on different servers: > fs1.my-domain.com and 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. > > > _________________________________________________________________________ > 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 >
-- Ashwin Kumar Rath
_________________________________________________________________________ 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
It depends on your architecture. I would counseil a kamailio load balancer in front of multiple freeswitches. This will solve it all. If instead you are partitioning users for each server, then you need to partition the extensions, and have a suitable dialplan. sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 15:57, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
I've added odbc-dsn for all 4 profiles (internal.xml, internal-ipv6.xml, external.xml and external-ipv6.xml). I can see that the table sip_registration etc. is created and contains information for my users.
However, I'm still only able to call users who are landing on the same FS server. So there's more to it than just adding odbc-dns apparently :(
What else do I need?
On Mon, Nov 23, 2015 at 1:39 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
In internal.xml for sip profiles.
On Monday, November 23, 2015, Michael Nielsen <mic.niel84@gmail.com> wrote:
Sorry, I meant:
<param name="odbc-dsn" value="dsn:user:pass"/>
Should that take care of everything?
On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Is it the
<param name="track-calls" value="true"/>
I need to add or an entire postgres connection string?
On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli < gmaruzz@gmail.com> wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
But shouldn't FS handle this automatically when they use same database as core?
On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> wrote:
> Normally the way this should be done is that the server which > handles the incoming call should connect to the destination UA through the > server which the destination is registered on . So the call flow should be > "Caller-->FS One----> FS Two--->Calee". > > > > On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen < > mic.niel84@gmail.com> wrote: > >> I've got 2 Freeswitch 1.6.2 setup on different servers: >> fs1.my-domain.com and 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. >> >> >> _________________________________________________________________________ >> 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 >> > > > > -- > Ashwin Kumar Rath >
_________________________________________________________________________ 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
_________________________________________________________________________ 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
You need a customized xml handler to do what you want Le 23 nov. 2015 10:22 AM, "Giovanni Maruzzelli" <gmaruzz@gmail.com> a écrit :
It depends on your architecture. I would counseil a kamailio load balancer in front of multiple freeswitches. This will solve it all.
If instead you are partitioning users for each server, then you need to partition the extensions, and have a suitable dialplan.
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 15:57, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
I've added odbc-dsn for all 4 profiles (internal.xml, internal-ipv6.xml, external.xml and external-ipv6.xml). I can see that the table sip_registration etc. is created and contains information for my users.
However, I'm still only able to call users who are landing on the same FS server. So there's more to it than just adding odbc-dns apparently :(
What else do I need?
On Mon, Nov 23, 2015 at 1:39 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
In internal.xml for sip profiles.
On Monday, November 23, 2015, Michael Nielsen <mic.niel84@gmail.com> wrote:
Sorry, I meant:
<param name="odbc-dsn" value="dsn:user:pass"/>
Should that take care of everything?
On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Is it the
<param name="track-calls" value="true"/>
I need to add or an entire postgres connection string?
On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli < gmaruzz@gmail.com> wrote:
you must put sofia in database, too
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com> ha scritto:
> But shouldn't FS handle this automatically when they use same > database as core? > > On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com> > wrote: > >> Normally the way this should be done is that the server which >> handles the incoming call should connect to the destination UA through the >> server which the destination is registered on . So the call flow should be >> "Caller-->FS One----> FS Two--->Calee". >> >> >> >> On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen < >> mic.niel84@gmail.com> wrote: >> >>> I've got 2 Freeswitch 1.6.2 setup on different servers: >>> fs1.my-domain.com and 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. >>> >>> >>> _________________________________________________________________________ >>> 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 >>> >> >> >> >> -- >> Ashwin Kumar Rath >> > > > _________________________________________________________________________ > 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
_________________________________________________________________________ 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
Could you show the debug output on the console from one FS when routing an incoming call (or attempting to) to a subscriber on the other FS? I’d also consider taking a wireshark at the same time so I could see the details of the db query to the postgres database, and ensure the SELECT statement is as you expect (i.e no issues with wrong domain or something in the SELECT). I am doing something similar to this, and it is working. Dave On Nov 23, 2015, at 9:56 AM, Michael Nielsen <mic.niel84@gmail.com> wrote: I've added odbc-dsn for all 4 profiles (internal.xml, internal-ipv6.xml, external.xml and external-ipv6.xml). I can see that the table sip_registration etc. is created and contains information for my users. However, I'm still only able to call users who are landing on the same FS server. So there's more to it than just adding odbc-dns apparently :( What else do I need? On Mon, Nov 23, 2015 at 1:39 PM, Michael Nielsen <mic.niel84@gmail.com <mailto:mic.niel84@gmail.com>> wrote: In internal.xml for sip profiles. On Monday, November 23, 2015, Michael Nielsen <mic.niel84@gmail.com <mailto:mic.niel84@gmail.com>> wrote: Sorry, I meant: <param name="odbc-dsn" value="dsn:user:pass"/> Should that take care of everything? On Mon, Nov 23, 2015 at 1:17 PM, Michael Nielsen <mic.niel84@gmail.com <>> wrote: Is it the <param name="track-calls" value="true"/> I need to add or an entire postgres connection string? On Mon, Nov 23, 2015 at 12:47 PM, Giovanni Maruzzelli <gmaruzz@gmail.com <>> wrote: you must put sofia in database, too sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 23/Nov/2015 12:38, "Michael Nielsen" <mic.niel84@gmail.com <>> ha scritto: But shouldn't FS handle this automatically when they use same database as core? On Monday, November 23, 2015, Ashwin Rath <ashwinrath@gmail.com <>> wrote: Normally the way this should be done is that the server which handles the incoming call should connect to the destination UA through the server which the destination is registered on . So the call flow should be "Caller-->FS One----> FS Two--->Calee". On Mon, Nov 23, 2015 at 4:48 PM, Michael Nielsen <mic.niel84@gmail.com <>> wrote: 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@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@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/> -- Ashwin Kumar Rath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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
you must also put sofia in database https://wiki.freeswitch.org/wiki/FreeSWITCH_databases#mod_sofia -giovanni On Mon, Nov 23, 2015 at 12:18 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I've got 2 Freeswitch 1.6.2 setup on different servers: fs1.my-domain.com and 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.
_________________________________________________________________________ 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 (6)
-
Abaci B
-
Ashwin Rath
-
Dave Horton
-
Giovanni Maruzzelli
-
Luis Daniel Lucio Quiroz
-
Michael Nielsen