Shared core database between 2 Freeswitches


New Member
I installed Fusionpbx with install script on one virtual machine.
Set the config to save internal freeswitch database in postgresql.everything is ok intenal database tables was created.
I copied virtual machine and changed its IP address.
In second virtual machine I set core database to IP and password of first virtual machine and set same switchname in switch.conf.xml
But in second virtual machine even freeswitch didnot start.
What is problem? Is there any firwal rules closing database access from another IP except ?
In pg_hba.conf I changed my IP :
host all all md5
In postgresql.conf I put my IP:
after restart it was working.
also changed config.php config.lua to use first virtual machine databases

now I have 2 virtual machine with 2 IP addresses they are like 2 separate tenant , users are separate...
I want to sip phones can register in both of them . what should I do ?
Last edited:
I used same domain and now I can register sipphones in both servers and see them in other server.
but if I call a sip phone registered in another server it bridges it directly not through second server.

what should I do?
Last edited: