Skip to content

Make Outbound Calls through a Designated 4G Trunk

When your TG400 gateway carries mobile (4G) trunks from more than one carrier, you can control which trunk each outbound call goes out on. Because many carriers offer plans with free or discounted calls to numbers on their own network, sending each call over the matching carrier’s trunk can noticeably reduce what you spend on calls. This page shows how to steer outbound calls to a chosen 4G trunk based on the number a user dials.

A 4G trunk is a line backed by a SIM card in the gateway, so calls placed over it use that carrier’s mobile network and its calling plan.

The steps below follow this example. Numbers that begin with 92 should leave over Carrier A’s trunk, and numbers that begin with 10 should leave over Carrier B’s trunk.

Dialed number4G trunkCarrier
Begins with 924G trunk 1Carrier A
Begins with 104G trunk 2Carrier B

Cloud Voice, diagram of calls leaving the PBX through the TG400 gateway and splitting onto two carrier 4G trunks by number prefix

Setting this up takes three stages:

  1. Add an outbound route on Cloud Voice that hands the calls to the gateway.
  2. Add two IP to Mobile routes on the TG400 gateway, one per carrier, that match the dialed number and pick the correct 4G trunk.
  3. Place test calls to confirm each prefix uses the trunk you expect.

Step 1. Create an outbound route on Cloud Voice

Section titled “Step 1. Create an outbound route on Cloud Voice”

An outbound route is the rule that lets your extensions dial out. Add one here so extensions can reach the outside world through the TG400 gateway.

  1. Sign in to the Cloud Voice PBX (Private Branch Exchange, your phone system) portal and go to Call Control > Outbound Route, then click Add.

  2. Configure these settings and leave the rest at their defaults:

    • Name: A label that helps you recognize the route.

    • Dial Pattern: Set the patterns to suit your needs. In this example, set Pattern to X., which lets users dial any number with no restriction.

      Outbound route dial pattern set to X. so any dialed number matches

    • Trunk: Choose the SIP account trunk that connects to the TG400 gateway. In this example, choose the TG400 trunk.

      Outbound route trunk field set to the TG400 gateway account trunk

    • Extension/Extension Group: Choose which extensions may dial out through this route. In this example, all extensions are selected.

      Outbound route listing all extensions as allowed callers

  3. Click Save, then Apply.

Step 2. Create two IP to Mobile routes on the gateway

Section titled “Step 2. Create two IP to Mobile routes on the gateway”

On the TG400 gateway, create one IP to Mobile route for Carrier A and another for Carrier B. Each route matches a number pattern coming from Cloud Voice and sends the call out over the 4G trunk you assign to it.

  1. Sign in to the gateway’s web interface and go to Gateway > Route Settings > IP to Mobile, then click Add IP to Mobile Route.

  2. In the dialog that opens, configure the route using the values below, then click Save and Apply Changes.

    SettingDescriptionCarrier ACarrier B
    Simple ModeKeep the basic settings or expand to show the full set.NoNo
    Route NameA label that helps you recognize the route.To-CarrierATo-CarrierB
    Call SourceThe SIP register trunk that connects back to Cloud Voice.SIP Register Trunk - CloudVoiceSIP Register Trunk - CloudVoice
    DID NumberThe pattern or number that matches the dialed number arriving from Cloud Voice.92. to match numbers with the 92 prefix10. to match numbers with the 10 prefix
    Call DestinationThe 4G trunk the call goes out on.Mobile - Trunk1Mobile - Trunk2

    IP to Mobile route matching the 92 prefix and sending calls out 4G trunk 1

    IP to Mobile route matching the 10 prefix and sending calls out 4G trunk 2

Dial a couple of numbers from a Cloud Voice extension and confirm each one leaves over the expected trunk:

  • Dialing 921234567 sends the call out over 4G trunk 1.
  • Dialing 108192837 sends the call out over 4G trunk 2.