I’m currently working on improving jitsi resiliency, I read about how jitsi.meet are doing with the handbooks : Video Tutorials · Jitsi Meet Handbook
So far, I understand that I should have X shards, with each shard having jitsi (Jicofo, prosody…) + many JVBs.
I understand too that HaProxy are used to provide sticky sessions based on the meeting URIs (so two users joining a meeting “foobar” would not be sent to different shards).
By the way, I didn’t find the HaProxy configuration, can you share it? (or part of it?)
But I don’t understand how it works with an IPBX & Jigasi.
let say that I have my IPBX outside of the jitsi shards.
Jigasi can only connect to one of the 3 shards.
So I thought “fine, I will run 3 instance of Jigasi connecting to my 3 jitsi shards”, but then, there are an issue:
Let’s say my first user (with chrome browser) joins the room “phoneMeet”, and let’s say that haProxy choose the shard number 3.
Then the other user on the phone will dial a number configured on my IPBX.
My user on the phone is now on my IPBX, but the IPBX doesn’t know which jigasi it should use to send my user to the correct shard (3) .
Any thoughts on this? How are the Jitsi Meet team doing this?