# \[Solved\] XMPP voice calls

**URL:** https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769
**Category:** Support apps
**Tags:** coturn, xmpp, prosody, english
**Created:** [July 17, 2025, 9:07pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769 "2025-07-17T21:07:30Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![peer](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@peer](https://forum.yunohost.org/u/peer)
#### Post date: [July 17, 2025, 9:07pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/1 "2025-07-17T21:07:30Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![peer](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@peer](https://forum.yunohost.org/u/peer)
#### Post date: [July 22, 2025, 1:24pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/2 "2025-07-22T13:24:49Z")

</div>

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

> **[Using Prosody with coturn – Prosody IM](https://prosody.im/doc/coturn)**
>
> Guide to setting up Prosody with
> coturn for TURN and STUN support via XEP-0215

---

<div class="post-metadata">

### Author: ![hook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hook/32/8965_2.png) [@hook](https://forum.yunohost.org/u/hook)
#### Post date: [July 22, 2025, 1:36pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/3 "2025-07-22T13:36:50Z")

</div>

Sweet.

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

---

<div class="post-metadata">

### Author: ![anubis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anubis/32/9218_2.png) [@anubis](https://forum.yunohost.org/u/anubis)
#### Post date: [July 22, 2025, 7:40pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/4 "2025-07-22T19:40:54Z")

</div>

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

Anyway, good to hear that you found a solution 🙂

---

<div class="post-metadata">

### Author: ![hook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hook/32/8965_2.png) [@hook](https://forum.yunohost.org/u/hook)
#### Post date: [July 22, 2025, 9:54pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/5 "2025-07-22T21:54:55Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![peer](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/e9bcb4/32.png) [@peer](https://forum.yunohost.org/u/peer)
#### Post date: [August 1, 2025, 12:41pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/6 "2025-08-01T12:41:53Z")

</div>

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:

```auto
[Unit]
After=network-online.target

[Service]
ExecStartPre=/bin/sleep 10

```

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [August 16, 2025, 12:42pm UTC](https://forum.yunohost.org/t/solved-xmpp-voice-calls/37769/7 "2025-08-16T12:42:09Z")

</div>

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