Hello
I have sip phones in office, connected to asterisk server, very basic sip user authentification.
phones directly attached to interface do work fine
phones in Vlan does not (time out while registering)
set [ find default-name=ether1 ] comment=WAN
set [ find default-name=ether6 ] comment=LANS
set [ find default-name=ether7 ] comment=“OFFICE”
/interface vlan
add interface=ether6 l2mtu=1594 name=Staff vlan-id=17
add interface=ether6 l2mtu=1594 name=vlan1 vlan-id=1
/ip pool
add name=VLAN1_0X ranges=192.168.1.30-192.168.1.160
add name=Staff ranges=192.168.20.30-192.168.20.40
/ip dhcp-server
add address-pool=Staff disabled=no interface=Staff lease-time=12h10m name=
Staff
/ip address
add address=192.168.1.254/24 interface=vlan1 network=192.168.1.0
add address=192.168.10.254/24 interface=ether7 network=192.168.10.0
add address=192.168.20.254/24 interface=Staff network=192.168.20.0
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.202,8.8.8.8 gateway=
192.168.0.254
add address=192.168.1.0/24 dns-server=
192.168.0.202,213.157.196.132,87.253.32.131 gateway=192.168.1.254
add address=192.168.10.0/24 dns-server=
192.168.0.202,213.157.196.132,87.253.32.131 gateway=192.168.10.254
add address=192.168.20.0/24 dns-server=
192.168.0.202,213.157.196.132,87.253.32.131 gateway=192.168.20.254
/ip firewall filter
add chain=input
add chain=output log=yes log-prefix=-88
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add check-gateway=ping distance=1 gateway=WAN GW
whats wrong with it?