How do I Retrieve and Save the Duration of Each Jitsi Meet Call to my Database?

I have configured a self hosted jitsi meet and I would like to retrieve and save the duration of each call to my database. How can I achieve this?

You can try prosody-plugins/event_sync at main · jitsi-contrib/prosody-plugins · GitHub

Thanks. Let me try it out

Hey @damencho, how do I listen to the plugin event and get the response from, eg, muc-room-destroyed?
I can only see the payload being past to the HTTP POST and not the response

What do you mean?
You configure your endpoint there which will get the HTTP POST and will store what it needs in the database.

Got it, thanks