[Freeswitch-users] Freeswitch shared registration

Nick Zaitsev nick.zaitsev at mail.ru
Fri Jul 18 12:34:35 MSD 2014


Good day to you!
Could you advise me with Freeswitch, please?
I have load balancer (opensips) in front of 2 Freeswitch (fsw1 and fsw2) servers, each with their own hostname. The load balancing works fine, but the shared database did not work. I use PostgreSQL
I add to external and internal sip profiles and sofia.conf.xml this:
<param name="track-calls" value="true"/>
<param name="core-db-dsn" value="pgsql://hostaddr=x.x.x.x dbname=db_name user=user password='password'"/>

And to switch.conf.xml at fsw1:
<param name="switchname" value="fsw1"/>
<param name="track-calls" value="true"/>
<param name="core-db-dsn" value="pgsql://hostaddr=x.x.x.x dbname=db_name user=user password='password'"/>
<param name="core-recovery-db-dsn" value="pgsql://hostaddr=x.x.x.x dbname=db_name user=user password='password'"/>
and at fsw2 the same,except hostname.

There is not any errors, but the DB is empty.
What I do wrong? Could you help me please?
Thank you for your time,
Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140718/0b5224c3/attachment.html 


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