Skip to content

Route Calls from Different Carriers to Different Destinations

When several 4G carriers connect to your phone system through a TG400 gateway, you can steer the calls that arrive on each carrier’s trunk to a different place inside Cloud Voice. This page uses a worked example to show how to keep two carriers separate and land their calls on two different extensions.

The steps below follow this setup. Each carrier has its own 4G trunk on the gateway, and each trunk should reach a specific extension.

Carrier4G trunkDestination
Carrier ATrunk 1: 9218273Extension 2000
Carrier BTrunk 2: 1019238Extension 2001

Cloud Voice, call flow from two 4G carrier trunks through a TG400 gateway to separate extensions

The configuration has three parts:

  1. Add a Mobile to IP route on the gateway for each carrier.
  2. Add an inbound route in Cloud Voice for each carrier.
  3. Place test calls to confirm the routing.

Step 1. Add two Mobile to IP routes on the gateway

Section titled “Step 1. Add two Mobile to IP routes on the gateway”

Create one Mobile to IP route for carrier A and another for carrier B so that incoming calls are forwarded to Cloud Voice.

  1. Sign in to the gateway’s web interface and go to Gateway > Route Settings > Mobile to IP, then click Add Mobile to IP Route.
  2. Complete the route in the dialog, then click Save followed by Apply Changes.

Use these values for each carrier:

SettingWhat it doesCarrier ACarrier B
Simple ModeKeep the basic fields, or expand to reveal advanced options.YesYes
Route NameA label that helps you recognize the route.CarrierA-To-CloudVoiceCarrierB-To-CloudVoice
Call SourceThe trunk the call arrives on.Mobile — Trunk 1Mobile — Trunk 2
Call DestinationThe SIP (Session Initiation Protocol) trunk that links the gateway to Cloud Voice.SIP Register Trunk - CloudVoiceSIP Register Trunk - CloudVoice
HotlineA hotline number that skips two-stage dialing, so the caller reaches Cloud Voice directly instead of hearing a second dial tone and having to dial again.888888999999

Mobile to IP route settings for carrier A on the gateway

Mobile to IP route settings for carrier B on the gateway

Step 2. Add two inbound routes in Cloud Voice

Section titled “Step 2. Add two inbound routes in Cloud Voice”

Create two inbound routes so Cloud Voice can separate carrier A’s calls from carrier B’s and send each to the right destination.

  1. Sign in to the Cloud Voice portal and go to Call Control > Inbound Route, then click Add.
  2. Set the following fields, leave everything else at its default, then click Save and Apply.

Use these values for each carrier:

SettingWhat it doesCarrier ACarrier B
NameA label that helps you recognize the route.From-CarrierAFrom-CarrierB
DID Matching ModeChoose the mode that fits your DID numbering.DID PatternDID Pattern
PatternThe DID number the route matches against.888888999999
TrunkThe SIP account trunk connected to the gateway.TG400TG400
Default DestinationWhere matching calls are delivered.Extension 2000Extension 2001

Inbound route configuration for carrier A in Cloud Voice

Inbound route configuration for carrier B in Cloud Voice

Dial each 4G trunk number and confirm the call lands on the expected extension:

  • Calling trunk 1 (9218273) rings extension 2000.
  • Calling trunk 2 (1019238) rings extension 2001.