fix dialin
This commit is contained in:
parent
6524dfc30e
commit
f4befb017a
@ -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]
|
||||||
|
@ -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 {
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user