Add listener on voice interface
This commit is contained in:
parent
d8bc1c9762
commit
709af554b9
2 changed files with 13 additions and 4 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -19,11 +19,11 @@ in {
|
|||
};
|
||||
|
||||
services.yate.config.ysipchan = {
|
||||
general.rtp_localip = externalIp;
|
||||
general = {
|
||||
addr = externalIp;
|
||||
type = "udp";
|
||||
port = 5060;
|
||||
rtp_localip = externalIp;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue