Skip to content

SIP trunking

Your phone system, on routes that prove the caller ID.

Connect a PBX or SBC over SIP and configure the trunk by API. Calls ride only routes whose caller ID showed the exact number on real handsets.

$0

Pay as you go, per month

pay per call

100

Concurrent calls on the largest plan

more on request

1s

Billing increment, 6 second minimum

$0

Inbound calls to your numbers

Overview

A trunk you can set up from code

SIP trunking connects the phone system you already run to carrier routes. Register with a username and password or authenticate by IP, deliver inbound calls to your PBX, and manage numbers, caller IDs and usage through the same API keys as the rest of the platform.

At a glance

Your trunk
GET /business-trunks/account
Allowed addresses
PUT /business-trunks/ip-allow-list
Inbound target
PUT /business-trunks/inbound
Auth
Bearer API key, account:read and account:write
SIP auth
Registration or IP
Billing
Per second, 6 second minimum

Capabilities

Everything a trunk needs, by API

  • Caller ID proven on real phones

    Trunk calls only use routes whose latest test call showed the exact number sent on a handset in the destination, network by network.

    GET /business-trunks/routing?to=…

  • Registration or IP authentication

    Use the trunk's username and password, rotated on demand, or lock it to your public addresses.

    POST /business-trunks/credentials/rotate

  • Inbound to your PBX

    Calls to your numbers are delivered to the host and port you name, or to one extension per number.

    PUT /business-trunks/inbound

  • Verified caller IDs

    Present a number you hold, verified automatically, or one you own elsewhere, verified by a call-back code. Let the PBX choose per call or fix one.

    POST /business-trunks/caller-ids

  • Numbers on the trunk

    Search and add numbers to the trunk, and send each to the trunk or an extension.

    GET and POST /business-trunks/numbers

  • Usage and call records

    Minutes used against the bundle and every call, paged, for your own reporting or billing.

    GET /business-trunks/usage, /calls

  • Fraud controls from day one

    New trunks start with a destination allow-list and a daily spend cap you can adjust, plus your concurrent call limit and allowed addresses.

    account settings

  • Guides for your system

    Step-by-step set-up for 3CX, FreePBX and Asterisk, Yeastar and Grandstream, Microsoft Teams Direct Routing through a hosted SBC partner, and any SIP device.

    the trunk wizard in your dashboard

Configure the trunk

Lock it to your addresses, point it at your PBX

Once you have chosen a plan, the trunk is configured with a few requests: the addresses allowed to send calls, where inbound calls go, and a check of how a number would route before you dial it.

  • Choosing a plan is POST /business-trunks/subscribe with your planId and emergencyAcknowledged: true. The SIP password is returned once.
  • The routing preview shows what the policy would do for a number without naming the route.
# Only these addresses may send calls on the trunk.
curl -X PUT https://packetexchange.io/api/v1/business-trunks/ip-allow-list \
  -H "Authorization: Bearer $PACKETEXCHANGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "ips": ["203.0.113.10"] }'

# Calls to your numbers are delivered here.
curl -X PUT https://packetexchange.io/api/v1/business-trunks/inbound \
  -H "Authorization: Bearer $PACKETEXCHANGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "target": "pbx.example.com:5060" }'

# What the routing policy would do for a number, before you dial it.
curl "https://packetexchange.io/api/v1/business-trunks/routing?to=+447700900123" \
  -H "Authorization: Bearer $PACKETEXCHANGE_API_KEY"

Proof, not promises

Every route tested on a real handset

Test calls go to real phones on each destination network and record what the screen displays. Trunk calls use only the routes whose latest test showed the exact number sent.

Pricing

Bundles or pay as you go

Every plan bills per second with a 6 second minimum and includes free inbound calls to your numbers, each number carrying 2 calls at once. Bundles include minutes each month for UK landlines, UK mobiles, Europe and the rest of the world.

Pay as you go2 concurrent calls, UK landline $0.0119 a minute
No monthly fee
Starter4 concurrent calls, 750 UK landline minutes included
$29 a month
Business10 concurrent calls, 3,500 UK landline minutes included
$129 a month
Call Centre100 concurrent calls, 12,000 UK landline minutes included
$379 a month

The full rate card, the destination groups and what bundles cover are on the SIP trunking page.

In production

Built for production

A trunk is only as good as the routes behind it and the caller ID it presents.

  • Caller ID that arrivesTrunks ride routes whose caller ID passed a test on a real handset in the destination.
  • Your choice of securityIP authentication from an allow list, or a username and password you can rotate with one request.
  • Plans or pay as you goBundles with minutes and concurrent calls included each month, or pay as you go with no monthly fee, month to month with no setup fee.
  • Configured from your codeAllowed addresses, the inbound target, numbers, caller IDs, usage and call records are all on the API with the same keys as the rest of the platform.
  • Works with your PBXGuides for 3CX, FreePBX and Asterisk, Yeastar and Grandstream, and Microsoft Teams Direct Routing through a hosted SBC partner.

Moving over

Your trunk settings map across, one by one.

Coming from Twilio

The names you know, mapped

If you have built on Twilio, most of what you know carries over. These are the pieces that change for this product.

TwilioElastic SIP Trunk resourceHereYour business trunk (one per account)GET /business-trunks/account; created when you choose a plan.
TwilioTermination SIP URI and credential listsHereTrunk username and password, or IP authenticationRotate the password with one request.
TwilioIP Access Control ListsHerePUT /business-trunks/ip-allow-listThe addresses allowed to send calls.
TwilioOrigination URIsHerePUT /business-trunks/inboundHost and port your numbers deliver to.
TwilioUsage billed per minuteHereBundles or pay as you goPlans include minutes and concurrent calls; pay as you go has no monthly fee.

Twilio is a trademark of Twilio Inc. PacketExchange is not affiliated with or endorsed by Twilio.

Questions

SIP trunking, answered

Which phone systems work?
Any SIP-compliant PBX or device. The set-up wizard has guides for 3CX, FreePBX and Asterisk, Yeastar and Grandstream, Microsoft Teams Direct Routing through a hosted SBC partner, and a generic guide for everything else.
Can I configure the trunk from my own code?
Yes. Allowed addresses, inbound target, numbers, caller IDs, usage and call records are all on the API with the same keys as the rest of the platform, scoped to account:read and account:write.
Can I make emergency calls?
No. Business SIP Trunks do not support emergency calls. Calls to 999, 112, 911 and other emergency numbers are refused, and we cannot pass your location to an emergency service. Keep another phone line, such as a mobile or a landline, for emergencies.
Which destinations do business trunks cover?
Business trunks carry calls and numbers outside the US and Canada. For US and Canadian traffic, use routes from the marketplace on the same account.
How are calls billed?
Per second with a 6 second minimum. Bundles include minutes each month by destination group, and minutes beyond them, or every minute on pay as you go, bill at the plan rate. Inbound calls to your numbers are free.
Is there a contract?
No. Every plan is month to month with no setup fee, and you can change plans at any time.

Connect your phone system today

Choose a plan, follow the guide for your system and watch each connection check pass. No contract and no setup fee.

Prefer to talk it through? Contact the team.