
Ensure the two domains hq.clcei.com and br.clcei.com are added to allow registrations using these domains.

Navigate to Configuration > Local Zone > Subzones and create a new subzone, configure the following parameters:
Name: hq-zone
Total bandwitdh available: Bandwidth restriction Unlimited


Create another subzone with the following parameters:
Name: br-zone
Total Bandwidth Available: Bandwidth Restriction Limited
Total bandwidth available: Total bandwidth limit (kbps) 128


Navigate to Configuration > Local Zone > Subzone membership rules, the first subzone membership rule should accept only a registered devices with the domain name hq.clcei.com. To match the domaine name, use the suffix.
Rule Name: hq-zone-endpoints
Type: Alias pattern match
Pattern type: Suffix
suffix: hq.clcei.com
Target Zone: hq-zone
State: Enabled


Create another subzone membership rule to accept only a registered devices with the domain name br.clcei.com.
Rule Name: br-zone-endpoints
Type: Alias pattern match
Pattern type: Suffix
suffix: br.clcei.com
Target Zone: br-zone
State: Enabled


Ensure that the Yate Clients are registered with SIP URI dave@hq.clcei.com and bob@br.clcei.com in the subzones hq-zone and br-zone respectively.



Call from dave@hq.clcei.com to bob@br.clcei.com.

Navigate to Status > Call and observe that the call is established.

Navigate to Configuration > Local Zone > Subzones and check the Bandwidth used 128 kpbs for both subzones.

Navigate to Configuration > Bandwidth > Pipes and add a new pipe with the following parameters:
Name: HQ-BR
Total bandwidth available: Bandwidth restriction Limited
Total bandwidth available: Total bandwidth limit (kbps) 64



Navigate to Configuration > Bandwidth > Links and configure a link between hq-zone and br-zone to use the pipe HQ-BR with the following parameters:
Name: HQ-BR
Node 1: hq-zone
Node 2: br-zone
Pipe 1: HQ-BR



Establish a call between dave@hq.clcei.com and bob@br.clcei.com.

In the links page, in the Link named HQ-BR observe the bandwidth 64 kbps being used for the call.

You can also verify on the subzones pages as shown below.
