Add listener on voice interface

This commit is contained in:
Jakob Lechner 2025-07-28 02:10:59 +02:00
parent d8bc1c9762
commit 709af554b9
2 changed files with 13 additions and 4 deletions

View file

@ -45,9 +45,18 @@ in {
];
services = {
yate.config.yrtpchan.general = {
minport = rtpPorts.from;
maxport = rtpPorts.to;
yate.config = {
yrtpchan.general = {
minport = rtpPorts.from;
maxport = rtpPorts.to;
};
ysipchan = {
"listener voice" = {
addr = (builtins.elemAt config.networking.interfaces.voice.ipv4.addresses 0).address;
type = "udp";
port = 5060;
};
};
};
fieldpoc = {

View file

@ -19,11 +19,11 @@ in {
};
services.yate.config.ysipchan = {
general.rtp_localip = externalIp;
general = {
addr = externalIp;
type = "udp";
port = 5060;
rtp_localip = externalIp;
};
};