Set Up Communication from Headquarters PBX to Branch PBX
Once a trunk links your headquarters Cloud Voice system to a branch PBX (Private Branch Exchange, the phone system that serves a single site), the two systems can exchange signaling, but calls will not flow until each side knows what to do with them. This page covers the two routes that make headquarters-to-branch calling work: an outbound route on the headquarters Cloud Voice system that pushes calls onto the trunk, and an inbound route on the branch PBX that receives those calls and delivers them to the right extension.
How the call is routed
Section titled “How the call is routed”Two pieces work together, one on each system:
| System | What you build |
|---|---|
| Headquarters Cloud Voice | An outbound route that sends matching calls out over the trunk |
| Branch PBX | An inbound route that accepts the calls and points them at the branch extensions |
The diagram below traces a single call from a headquarters extension, across the trunk, to its destination in the branch office.

Set up the outbound route on headquarters Cloud Voice
Section titled “Set up the outbound route on headquarters Cloud Voice”The outbound route decides which dialed numbers leave over the branch trunk and which extension users are allowed to use it.
-
Sign in to the PBX web portal of the headquarters Cloud Voice system and go to Call Control > Outbound Route.
-
Click Add.
-
Fill in the route:
-
Under General, give the route a name you will recognize later.
-
Under Dial Pattern, set the dial rules that decide which numbers use this route. For this example, leave the defaults in place.
-
Under Trunk, move the trunk you created for the branch PBX from the Available box to the Selected box.

-
Under Extension/Extension Group, move every extension from the Available box to the Selected box so that all of your headquarters users can dial the branch.
-
-
Click Save, then Apply.
Set up the inbound route on the branch PBX
Section titled “Set up the inbound route on the branch PBX”The inbound route on the branch side catches the incoming calls, reads the dialed number, and hands each call to the matching branch extension.
-
Sign in to the PBX web portal of the branch PBX and go to Call Control > Inbound Route.
-
Click Add.
-
Fill in the route:
-
Under General, give the route a name you will recognize later.
-
Under DID Pattern, define how dialed numbers map to extensions. DID (Direct Inward Dialing) is the number the caller actually dialed, which here is a branch extension number.

- DID Matching Mode: Choose Match DID Range to Extension Range.
- DID Range: Enter the branch extension range. In this example, that is
2000-2050.
-
Under Caller ID Pattern, set any caller ID matching you need. For this example, leave the defaults in place.
-
Under Trunk, move the trunk you created for the headquarters Cloud Voice system from the Available box to the Selected box.

-
Under Default Destination, choose where matched calls land:

- In the Default Destination drop-down, select Match Extension Range.
- In the extension range field, enter the branch extension range. In this example, enter
2000-2050.
-
-
Click Save, then Apply.
Test the connection
Section titled “Test the connection”Place a call between the two sites to confirm the routes work. For example, when extension 1000 at headquarters dials 2000, extension 2000 in the branch office should ring.