1
0

fix dialin

This commit is contained in:
Ember 'n0emis' Keske 2022-07-25 09:26:14 +02:00
parent 6524dfc30e
commit f4befb017a
No known key found for this signature in database
GPG Key ID: 00FAF748B777CF10
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,8 @@
config = { config = {
regfile.yate.password = "yate"; regfile.yate.password = "yate";
regexroute = "[default] regexroute = "[default]
^4933921999799\\(.*\\)$=lateroute/yate;osip_x-called=\\1 ^4933921999799\\(.*\\)$=sip/sip:\\1@10.42.10.6
\${sip_x-dialout-allowed}^1$=goto dialout \${sip_x-dialout-allowed}^1$=goto dialout
[dialout] [dialout]

View File

@ -117,8 +117,8 @@
iif {vlan132, vlan133} accept iif {vlan132, vlan133} accept
udp dport 5060 ip saddr { 10.42.10.9 } accept ip saddr { 10.42.10.9 } accept
udp dport 5060 ip6 saddr { 2a01:4f8:1c0c:8221::9 } accept ip6 saddr { 2a01:4f8:1c0c:8221::9 } accept
} }
chain forward { chain forward {

View File

@ -34,7 +34,7 @@ in {
serviceConfig = { serviceConfig = {
Type = "forking"; Type = "forking";
ExecStart = ExecStart =
"${pkgs.yate}/bin/yate -d -p /run/yate/yate.pid -c /etc/yate -F -s -vvv -DF -r -l /var/lib/yate/yate.log"; "${pkgs.yate}/bin/yate -d -p /run/yate/yate.pid -c /etc/yate -F -s -q -DF -r -l /var/lib/yate/yate.log";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "yate"; User = "yate";
Group = "yate"; Group = "yate";