I have an openwrt router (19.07.2), which is running yate (a PBX software like asterisk).
Yate works at the same time as a server and a client. My ip phones register with yate as their voip server. Yate itself registers with my voip provider as a client.
All my ip phones reside in a vlan (vid 50, 10.88.50.0/24), there are no other devices in this vlan. The yate server address is 10.88.50.1.
The ip phones (Gigaset GoBox series) are vlan capable, they are configured to use vid 50 with prio=7. So the network traffic between the ip phones and the yate server has highest priority. All other devices in the other vlans have prio=0.
My problem: how can I give the voip traffic highest priority on the wan side?
What I want:
- voip traffic is served first, so it blocks service for other traffic
- other traffic is served, when there is no voip traffic
Is it possible to meet these requirements and how?
My internet connection is via LTE, depending on the time of day the bandwidth varies from 20 mbps to 100 mbps. Therefore I want to avoid any solution with bandwidth parameters.