Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Feeeswitch HA with Keepalived database conflict


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
edson at inoutglobal.xyz
Guest





PostPosted: Mon Feb 01, 2021 7:36 am    Post subject: [Freeswitch-users] Feeeswitch HA with Keepalived database co Reply with quote

Dears,

I am configring FReeswitch HA with Keepalived approach just like this https://freeswitch.org/confluence/display/FREESWITCH/HA+keepalived
Freeswitch database is shared with Postgresql-BDR replication.

When executing fsctl crash on node 1, node 2 tries to recover call from its recovery table, but it somehow tries to insert it again causing following conclict.
How to avoid this behaviour?

>ERROR: duplicate key value violates unique constraint "recovery_pkey"
< 2021-01-31 12:48:09.394 -03 >DETAIL: Key (uuid)=(66727254-af9d-47ef-ad9f-6f6bbb794eb6) already exists.
< 2021-01-31 12:48:09.394 -03 >STATEMENT: insert into recovery (runtime_uuid, technology, profile_name, hostname, uuid, metadata) values ('4a864869-fe7f-4470-9992-20b91d09040f','sofia','internal','freeswitch-bndes','66727254-af9d-47ef-ad9f-6f6bbb794eb6','<cdr core-uuid="4a864869-fe7f-4470-9992-20b91d09040f" switchname="freeswitch-bndes">

Regards
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services