yate: ignorevia
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
tcp dport 22 accept
|
||||
tcp dport { ${tcpPorts} } accept
|
||||
|
||||
udp dport 5060 ip saddr { 10.42.10.6, 217.10.68.150 } accept
|
||||
udp dport 5060 ip6 saddr { 2a01:4f8:1c0c:8221::6, 2001:ab7::0/64 } accept
|
||||
ip saddr { 10.42.10.6, 217.10.68.150 } accept
|
||||
ip6 saddr { 2a01:4f8:1c0c:8221::6, 2001:ab7::0/64 } accept
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@@ -12,6 +12,9 @@
|
||||
[dialout]
|
||||
\${username}^$=-;error=noauth
|
||||
^.*$=sip/sip:\\0;line=sipgate;osip_P-Preferred-Identity=<sip:4933921999799\${caller}@sipconnect.sipgate.de>;caller=3400888t0;domain=sipconnect.sipgate.de;";
|
||||
ysipchan.general = {
|
||||
ignorevia = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -20,6 +23,8 @@
|
||||
restartUnits = [ "yate.service" ];
|
||||
};
|
||||
|
||||
#networking.hosts."2001:ab7::9" = [ "sipconnect.sipgate.de" ];
|
||||
|
||||
systemd.services.yate = {
|
||||
preStart = let
|
||||
accfile = pkgs.writeText "accfile.conf" (lib.generators.toINI { } {
|
||||
|
Reference in New Issue
Block a user