Wholesale

SBC-as-a-Service

Edge and origination for providers who run their own retail service.

This page is for providers, not application builders
If you are building an app or an AI agent and want CallNode to be your telecom provider, you want CallNode API instead — that product is self-serve and every other page in these docs describes it. This page describes the wholesale product, where you are the phone company. Compare both products.

Who is the provider of record

This is the whole basis of the product, so it is worth stating before anything technical. On wholesale, you are the phone company to your end users.CallNode is infrastructure to a provider — never a service to that provider’s subscribers.

ResponsibilityWho holds it
Retail relationship, support and billing with your subscribersYou
E911 and dispatchable location for your subscribersYou
CPNI, number portability duties, and your own regulatory filingsYou
SIP edge: registration, NAT traversal, media anchoring, abuse controlCallNode
Inbound origination and the carrier relationship for numbers we sell youCallNode
Call detail records for traffic crossing our edgeCallNode
We do not provide E911 for your subscribers
Nothing in this product delivers emergency calling on behalf of your end users, and you should not represent to them that it does. Emergency service for your subscribers remains yours to arrange.

What the product includes

Two things: the edge, and inbound origination. You point your PBX or softswitch at our session border controller; we terminate the signalling and media, anchor it, and deliver inbound calls on numbers you buy from us to your endpoints.

  • Session border controller with SIP over UDP, TCP and TLS.
  • Media anchoring, so your endpoints never need to be publicly reachable.
  • Registration support for PBXs behind NAT with no static IP.
  • Flood control and abuse shielding in front of your equipment.
  • Call detail records for traffic crossing the edge.
  • Enforced per-tenant channel caps.
  • Fax over T.38, enabled per tenant: pass-through for endpoints that speak T.38, or a gateway for audio-only endpoints (details).
Outbound PSTN termination is enabled per account
Send us an INVITE for any PSTN number and we complete it, at your contract per-minute rate, charged to your wallet as each call ends. It is off until our team enables it on your account — until then your trunk has no route to the public network, so keep your existing termination carrier.

The caller ID you present must be a number on your CallNode account, verified as a caller ID (or an identity we have authorized for you). Calls presenting anything else are refused with a 403 (cli_not_authorizedfor a number that is not yours, caller_id_not_verified for one of yours not yet verified), so plan your CLI strategy before migrating traffic. Verifying a number takes about a minute in the dashboard (Numbers, open the number, Caller ID card) and is automatic.

Refusals tell you why: 402 top up your wallet, 403 not permitted (caller ID, verification, or a destination not enabled on your account), 503 try again later. A 403 with the reason daily_cap means your daily calling limit is reached: stop retrying until 00:00 UTC. A 403 with the reason redial_cap means the same number was tried more than 25 times this week (Monday to Sunday, UTC), refused attempts included: stop retrying that number until Monday 00:00 UTC. Calls are capped at what your balance can pay for, so keep it funded.

Connecting your equipment

Two authentication models are supported. Which one you use depends on whether your equipment has a stable public IP address, not on which we prefer.

ModelUse whenHow it works
IP authenticationYour PBX or SBC has a static public IP.You give us the source addresses you will send from. Calls from those addresses are accepted; everything else is refused at the firewall before it reaches SIP. No credentials to rotate or leak.
Registration over TLSYour equipment is behind NAT or on a dynamic address.Your PBX registers to us over TLS with digest authentication and we deliver inbound down the registration. Credentials are issued at provisioning and shown once.

Endpoint hostnames, ports and credentials are issued with your account — they are part of provisioning rather than a published constant, because they depend on how your tenant is configured. Media is negotiated on connect; you do not need to open inbound RTP ranges to us.

Registration credentials are shown exactly once
We store only the digest hash, never the password, so we cannot re-read it to you later. If it is lost, the recovery path is rotation — not recovery.

Numbers

You buy DIDs from our inventory and we route them to your endpoints. This is origination, not porting: the carrier relationship for those numbers stays ours, and the numbers stay on our account.

Phone numbers

  • US and Canadian local numbers
  • US toll-free numbers
  • International numbersGeographic and national ranges across the carrier footprint.

Messaging

  • Send SMS (international destinations)
  • Receive SMS over HTTP
  • Receive SMS over SIPNot yet available

Voice

  • SIP edge with enforced per-tenant channel capsInbound origination delivered to your SIP endpoints, with ordered failover.
  • Fax: T.38 pass-through and T.38 gatewayFax machines and fax servers behind your endpoints: T.38 relayed end to end, or a T.38 gateway for audio-only endpoints. Enabled per tenant; fax minutes bill as voice.

There is no per-number availability search on this inventory: you choose a rate centre or area, and numbers are allocated from it. If you need a specific number, tell us and we will tell you whether it is obtainable — do not design a signup flow that assumes number-level picking.

Ordering by API

Everything the dashboard does, your code can do — using the same signed-request scheme as the rest of the developer API. Requests are authorized per call: your account must have wholesale active and completed business verification, or the API returns 403.

  • GET /api/v1/wholesale/countries — where inventory exists
  • GET /api/v1/wholesale/states?countryId= — regions (may be empty; go straight to areas)
  • GET /api/v1/wholesale/areas?countryId=&stateId= — areas with stock and your monthly price per number
  • POST /api/v1/wholesale/numbers — allocate a number: {areaId, deliverTo}. For deliverTo, pass your host (we deliver as sip:<number>@host), a sip: URI containing {number}, or a full sip: URI
  • PATCH /api/v1/wholesale/numbers/:id/delivery — repoint where an existing number delivers

Ordering is charged from your balance exactly as it is in the dashboard, and area listings can take up to a minute on first fetch for large countries.

Where delivery calls come from

Inbound calls to your numbers are delivered to your deliverTo endpoint as SIP INVITEs from CallNode infrastructure. Accept signalling and media from all of the addresses below— your account may be served from the platform switch or from the CallNode edge, and accepting the full set means a served-from change needs nothing on your side. If your SIP service filters by source address (or matches inbound calls to dispatch rules by source), an INVITE from an unlisted address is typically dropped silently— the call rings out with no error anywhere on your side, so configure this before it bites.

SourceAddresses
Platform switchessip.callnode.io — 198.27.122.194 and 192.95.44.47 (a call may come from either)
CallNode edgeedge.callnode.io — 192.99.90.89 and 198.27.122.204

Edge-served delivery anchors media at the edge: the INVITE's SDP advertises the edge address and an RTP port in the 30000–40000/udprange, and your endpoint's audio flows to and from that address. The caller identity, X-CallNode-Call-Id header, and everything else about the call is identical either way.

Switch-served delivery carries media from the platform switch addresses above on ports 16384–32768/udp. Fax over T.38 travels as UDPTL on the same addresses and port ranges as RTP, so a firewall that admits our media already admits our fax.

Voice modes: SIP delivery or a webhook agent

A wholesale number answers calls in one of two modes, switchable at any time with PATCH /api/v1/numbers/:id:

  • SIP delivery (the default — set at order time via deliverTo): inbound calls bridge straight to your endpoint as SIP. Change the target by setting voice.sipUri.
  • Webhook agent: set {"voice": {"sipUri": null, "webhookUrl": "https://…", "webhookAuth": {…}}} and inbound calls run the conversational webhook contract instead — CallNode answers, streams speech, and POSTs each caller turn to your endpoint.

Two rules to know. A change that would leave the number with neither a delivery target nor a webhook is rejected with 400— include the new mode's field in the same request when switching. And if your webhook endpoint requires authentication, you must set voice.webhookAuth on the number — otherwise our requests arrive unauthenticated, your endpoint rejects them, and calls die at the greeting with nothing visibly wrong. Billing is identical in both modes: your contract per-minute rate, charged from your balance.

Fax over T.38

Fax is a per-tenant setting our team enables on your account, in one of two modes. Both are inert on voice calls, so nothing changes for numbers that only carry voice, and nothing about your numbers' delivery configuration changes either.

  • T.38 pass-through— your endpoint speaks T.38. A fax call is delivered like any other call and the T.38 re-INVITE is relayed between the carrier and your endpoint in either direction. Your endpoint must accept a re-INVITE whose SDP switches to m=image … udptl t38 and send one itself when it detects fax tones; keep ECM on. Outbound faxes through termination work the same way, subject to the carrier route for the destination.
  • T.38 gateway— your endpoint is audio-only. CallNode listens for fax tones on the call, switches the carrier side to T.38, and runs the fax toward your endpoint as G.711 audio. Use this for analog adapters and PBXs that cannot negotiate T.38.

Requirements: G.711 (PCMU/PCMA) on the fax endpoint and no compressed codec anywhere on the path; T.38 media (UDPTL) arrives from the same addresses and port ranges as RTP (platform switches 16384–32768/udp, edge 30000–40000/udp — see where delivery calls come from); session-timer refreshes continue during a fax and must be answered; delivery to a registration trunk is best-effort for fax; TLS deliveries that require SRTP do not carry T.38. Fax minutes bill exactly as voice minutes — there is no per-page charge on this transport.

Separately from this transport, every account (wholesale included) has hosted fax: switch Receive faxes on for a number and the platform answers the fax itself and delivers a PDF (email, dashboard, API, webhook); send a PDF or TIFF from the dashboard or POST /api/v1/faxes. That is billed per page at the rates in your contract, and while receive mode is on the number's SIP delivery is bypassed (not cleared). See hosted fax.

Messaging (SMS)

Wholesale numbers send and receive SMS. Send through the standard POST /api/v1/messages API with a wholesale number as from — the platform routes it over your wholesale contract automatically. Three properties differ from the self-serve product, and all three are carrier facts rather than choices:

  • International destinations only. US and Canadian numbers are refused with destination_not_available: US mobile networks require sender registration this product does not carry, and such messages are billed by the carrier while never arriving. Use the self-serve messaging product for US traffic.
  • “Accepted” is the final status.No delivery receipt exists anywhere on this route, so a message's status never advances to delivered — and we bill on acceptance, at your contract rate per message part, from your balance (Wholesale SMS in your billing history).
  • MMS is not available on wholesale numbers.

Inbound works on every wholesale number automatically: configure a messaging webhook on the number (PATCH /api/v1/numbers/:id with {"messaging": {"webhookUrl": …}}) and each inbound message is delivered to it; without one, messages are recorded in your message history. STOP/START keywords are honored platform-side in both cases.

Capacity

Concurrent channels are a cap, not a meter. Your contract sets a ceiling and we enforce it at the edge; calls beyond it are rejected rather than queued or billed as overage. New accounts start with 2 concurrent channels. Raising the cap is a contract change, not a runtime one: request it through a support ticket and it is reviewed case by case, so size it with headroom for your busy hour.

Outbound termination also carries a daily cap: the number of call attempts your account may place per UTC day, taken from the volume you declared at business verification unless a different figure was agreed. Beyond it, calls are refused with 403 and the reason daily_capuntil 00:00 UTC; stop retrying until then. Your SBC Tenant page shows today's count against the cap, and a higher cap is requested the same way as channels.

Outbound termination also carries a dialing pace limit: by default, calls beyond 6 attempts per minute per account are refused at our edge with SIP 503 before they reach the telephone network, and are not billed. Manual calling never notices it. If your use case needs a faster pace, ask support; limits are set per account up to 30 per minute.

Billing

List rates are public
Numbers by country, inbound minutes, per-destination termination and messaging for standard accounts are published on the wholesale page, straight from the tables that bill them. Your contract rates, if different, are on your SBC Tenant page.

Wholesale is prepaid, charged as you use it— the same wallet as the rest of the platform, no invoicing and no payment terms. You fund the balance; numbers and minutes draw it down the moment they happen, each charge labeled Wholesalein your billing history. Rates are set in your contract rather than from published pricing — the pricing on the marketing site applies to the self-serve product and does not apply to you.

ChargedWhen and how
NumbersYour contract rate per DID (set per number type and country) — charged from your balance when you order the number, then monthly.
Inbound minutesPer minute at your contract rate, rounded up per call — charged from your balance as each call ends.
FaxFax calls bill as voice: inbound at your inbound rate, outbound at the termination rate for the destination. No per-page charge.
ChannelsA capacity cap, enforced at the edge. Not billed as usage unless your contract says otherwise.

Keep the balance funded: a wholesale call that ends against an empty wallet is usage we could not collect, and repeated shortfalls are a conversation. Wholesale charges are yours and only yours — numbers assigned to your tenancy are excluded from the platform’s retail rates, so a call cannot be billed twice or at the wrong price.

What this product does not include

Listed explicitly because each one is a boundary that keeps you the provider of record and us the infrastructure underneath. If you need something here, it is a conversation, not a setting.

  • No outbound PSTN termination by default.It is enabled per account under your agreement — covered above; keep your own carrier until then. Inbound and outbound minutes are priced separately.
  • No retail service to your end users. No support relationship, no billing relationship, and no CallNode account for them.
  • No E911 for your subscribers, and no representation that we provide it.
  • No number portability on your behalf. We sell numbers from our own inventory; porting your existing estate to us is not offered.
  • No self-serve signup.Onboarding is done by a human, deliberately — tenancy, capacity and the compliance split all need to be agreed before traffic flows.

Getting started

Provisioning is manual by design. Tell us the shape of your traffic and we will scope the tenancy, quote it, and issue your connection details.

Useful things to have ready: your expected concurrent channels at busy hour, the countries and number types you need, whether your equipment has static public IPs or will register, and your current termination arrangement.

Already a customer? Raise a Wholesale Activation request from Support and it routes straight to the team that handles this product.