fix dialin
This commit is contained in:
parent
6524dfc30e
commit
f4befb017a
@ -6,7 +6,8 @@
|
||||
config = {
|
||||
regfile.yate.password = "yate";
|
||||
regexroute = "[default]
|
||||
^4933921999799\\(.*\\)$=lateroute/yate;osip_x-called=\\1
|
||||
^4933921999799\\(.*\\)$=sip/sip:\\1@10.42.10.6
|
||||
|
||||
\${sip_x-dialout-allowed}^1$=goto dialout
|
||||
|
||||
[dialout]
|
||||
|
@ -117,8 +117,8 @@
|
||||
|
||||
iif {vlan132, vlan133} accept
|
||||
|
||||
udp dport 5060 ip saddr { 10.42.10.9 } accept
|
||||
udp dport 5060 ip6 saddr { 2a01:4f8:1c0c:8221::9 } accept
|
||||
ip saddr { 10.42.10.9 } accept
|
||||
ip6 saddr { 2a01:4f8:1c0c:8221::9 } accept
|
||||
}
|
||||
|
||||
chain forward {
|
||||
|
@ -34,7 +34,7 @@ in {
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
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";
|
||||
User = "yate";
|
||||
Group = "yate";
|
||||
|
Loading…
Reference in New Issue
Block a user