Xmpp audio & video calls

Bonjour,

J’essaye d’utiliser xmpp entre mon Android (Conversations) et le téléphone IOS d’une amie ( Siskin IM) mais les appels audio et vidéos ne passent pas. Y a-t-il une configuration spécifique à faire sur mon Yunohost (Un Raspberry Pi 3) ?

Merci.

Hello,

I am trying to use XMPP between my Android (Conversations) and the IOS phone of a friend (Siskin IM) but the audio calls and videos don’t go through.Is there a specific configuration to do on my Yunohost (a Raspberry Pi 3)?

Thank you.

1 Like

May be you need this package too

But I do not use xmpp on my yunohost so I really don’t know how to do that but I’m interested

2 Likes

Thank you, I will see this next week-end, busy right now.

Thank you!

Hi,

So I installed Coturn for YunoHost, then added the following lines in /etc/metronome/metronome.cfg.lua:

“extdisco”; – XEP 215
“jingle_nodes”;

external_services = {
[“domain.tld”] = {
[1] = {
port = “3478”,
transport = “udp”,
type = “stun”
},

    [2] = {
        port = "3478",
        transport = "tcp",
        type = "stun"
    },

    [3] = {
        port = "5349",
        transport = "tcp",
        type = "stuns"
    },
    [4] = {
        port = "3478",
        transport = "tcp",
        type = "turn",
        turn_secret = "Some passphrase",
        turn_ttl = 300
    },

    [5] = {
        port = "3478",
        transport = "udp",
        type = "turn",
        turn_secret = "Some passphrase",
        turn_ttl = 7200
    },

    [6] = {
        port = "5349",
        transport = "tcp",
        type = "turns",
        turn_secret = "Some passphrase",
        turn_ttl = 7200
    }
}

};

jingle_nodes_turn_credentials = true;
jingle_nodes_turn_secret = “Some passphrase”;
jingle_nodes_turn_credentials_ttl = 86400;
jingle_nodes_restricted = false;

But what is: turn_secret = “Some passphrase” ?

And in /etc/turnserver.conf I added to the existing file:

listening-port=3478
tls-listening-port=5349
listening-ip=0.0.0.0
listening-ip=
min-port=49152
max-port=65535
verbose
fingerprint
use-auth-secret
static-auth-secret=“Some passphrase”
realm=domain.tld
max-allocate-lifetime=7200
cert=/etc/yunohost/certs/domain.tld/crt.pem
pkey=/etc/yunohost/certs/domain.tld/key.pem
syslog
prod
no-loopback-peers
no-cli
cli-ip=127.0.0.1
cli-port=5766
cli-password=clipassword

And finally opened the requested ports:

yunohost firewall allow UDP -4 49152:65535
yunohost firewall allow Both 3478
yunohost firewall allow Both 5349
yunohost firewall allow Both 3479
yunohost firewall allow Both 5350

However I don’t understand what I should use in /etc/turnserver.conf for the following parameters:

listening-ip=0.0.0.0
listening-ip=
realm=domain.tld
cert=/etc/yunohost/certs/domain.tld/crt.pem
pkey=/etc/yunohost/certs/domain.tld/key.pem
static-auth-secret=“Some passphrase”
cli-password=clipassword

Thank you.

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