[Solved] XMPP voice calls

Hi!

I use Prosody for IM.
Now I would like to do XMPP voice calls with my voice-call-capable XMPP client.
What should I do?
I think I have to install Coturn, but I would like to know in detail what steps I should follow (ports, configurations, etc) for both Prosody and Coturn.
I have read some old posts but I find them confusing and they were for Metronome.

Thank you!

2 Likes

I did it. I was just missing these easy instructions!

Sweet.

It would be even sweeter if it were like that out of the box.

For the record, it is the purpose of the Prosody App : GitHub - YunoHost-Apps/prosody_ynh: Prosody package for YunoHost to provide you a working XMPP server including voice calls support (it installs automatically coturn).

Anyway, good to hear that you found a solution :slight_smile:

2 Likes

So, VoIP working is expected out of the box. Good to know. Will test it out in the near future and write a bug report if it does not. (I hope to remember to write here if it does work though).

Every time I did a reboot the problem came back, voice calls were not able to establish a connection. Fortunately I found out simply restarting the Coturn service fixed it. Perhaps it happened because I am under a VPN and it takes time to connect.

The thing is I delayed some seconds the start of the Coturn service when booting and the problem is solved now.

sudo systemctl edit coturn.service and then insert:

[Unit]
After=network-online.target

[Service]
ExecStartPre=/bin/sleep 10

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.