On-Net and Billing Settings¶
Account settings that only a reseller admin or the platform admin can change: tenant peering between accounts, on-net routing, and the zero-rate billing flags. They live in SmartPBX > Account Settings of the customer account; a tenant admin sees them read only, with a lock icon. The rest of Account Settings is in Account Settings.
| Setting | Tab | Who can change it |
|---|---|---|
| Tenant peering | OnNet | Reseller admins and the platform admin |
| Prefer On-Net Routing | OnNet | Platform admin only |
| On-Net Zero Rate | OnNet | Platform admin only |
| Off-Net Inbound | Misc | Platform admin only |
| Off-Net Outbound | Misc | Platform admin only |
Tenant peering¶
What is this?
Tenant peering lets people on one account call extensions on another account on the same platform, by dialing that account's code and then the extension.
How to set it up
- Open SmartPBX → Account Settings → OnNet.
- Under Tenant peering, tick Enable tenant peering.
- Set the Prefix: 1 to 6 digits that other accounts dial, then an extension, to reach this account.
- Click Update.
- Under Dial other accounts, choose an account (only accounts with tenant peering on and a prefix are listed), choose the extension length (3 or 4 digits or 3 digits) and click Add. Repeat for each account people here should call.
Calls work in one direction per account: ask the other account to add this account too before calls can come back. Each added account has a Remove button.
Off-Net Inbound¶
What is this?
When Off-Net Inbound is enabled for an account, inbound PSTN calls to the account's DIDs are rated at zero per-minute usage on the off-net origination leg. Callers still reach the account normally; only billing and CDR rating change for that leg.
Why is it useful?
- Support bundled or promotional inbound trunk packages where PSTN minutes should not appear on usage reports.
- Simplify reseller or trial accounts where inbound PSTN should not generate per-minute charges.
- Apply account-specific commercial terms without changing carrier routing or DID configuration.
How to turn it on
- Open SmartPBX → Account Settings.
- Select the Misc tab.
- Under Off-Net Inbound, enable the checkbox.
- Click Update.
Platform administrator only
Only platform administrators (superduper admin accounts) can change this setting. Other account administrators see the current value as read-only (lock icon).
| Account field | Default | Applies to |
|---|---|---|
inbound_offnet_zero_rate |
false |
Inbound PSTN → account DID (offnet-origination legs) |
flowchart LR
pstn[PSTN caller] --> did[Account DID]
did --> rate{inbound_offnet_zero_rate?}
rate -->|Yes| zero[Zero per-minute rate at authz]
rate -->|No| normal[Normal Hotornot / rating]
zero --> route[Normal inbound routing]
normal --> route
Good to know
- Rating is applied in ecallmgr at call authorization; Hotornot is not used for these legs when the flag applies.
- Does not change how inbound calls are routed — only how the PSTN origination leg is rated on CDRs and usage reports.
- Independent of On-Net Zero Rate (platform loopback) and Off-Net Outbound (outbound trunk legs).
- Off by default — enable only when billing policy requires free inbound PSTN for the account.
- Changes apply to new calls after save; active calls keep their original rating.
Off-Net Outbound¶
What is this?
When Off-Net Outbound is enabled for an account, outbound PSTN calls through the carrier trunk are rated at zero per-minute usage on the off-net termination leg. Dialing and routing behave the same; only billing and CDR rating change for that leg.
Why is it useful?
- Support flat-rate or bundled outbound trunk packages where PSTN minutes should not appear on usage reports.
- Offer trial or internal accounts free outbound PSTN without altering dial plans or carrier trunks.
- Apply per-account commercial terms for reseller or partner arrangements.
How to turn it on
- Open SmartPBX → Account Settings.
- Select the Misc tab.
- Under Off-Net Outbound, enable the checkbox.
- Click Update.
Platform administrator only
Only platform administrators (superduper admin accounts) can change this setting. Other account administrators see the current value as read-only (lock icon).
| Account field | Default | Applies to |
|---|---|---|
outbound_offnet_zero_rate |
false |
Outbound PSTN via carrier trunk (offnet-termination legs) |
flowchart LR
ext[User or device] --> trunk[Carrier PSTN trunk]
trunk --> rate{outbound_offnet_zero_rate?}
rate -->|Yes| zero[Zero per-minute rate at authz]
rate -->|No| normal[Normal Hotornot / rating]
zero --> pstn[PSTN destination]
normal --> pstn
Good to know
- Rating is applied in ecallmgr at call authorization; Hotornot is not used for these legs when the flag applies.
- Does not change outbound routing, caller ID, or trunk selection — only CDR rating for the PSTN termination leg.
- Independent of On-Net Zero Rate and Off-Net Inbound.
- Off by default — enable only when billing policy requires free outbound PSTN for the account.
- Changes apply to new calls after save; active calls keep their original rating.
Billing and routing flags¶
Several Misc settings control how calls are routed on-net versus PSTN and whether certain legs are billed at a zero per-minute rate. These options affect usage charges and CDR rating for the account.
For full guidance on PSTN zero-rate flags, see Off-Net Inbound and Off-Net Outbound above. This section summarizes all four related flags and the API.
Platform administrator only
Prefer on-net routing, On-net zero rate, Off-net inbound, and Off-net outbound are visible to all account administrators in Account Settings, but only platform administrators (superduper admin accounts) can change them. Other users see the current values as read-only (lock icon). Tenant administrators cannot enable or disable these flags from SmartPBX.
Where to find them
- Open SmartPBX → Account Settings.
- Off-Net Inbound and Off-Net Outbound are on the Misc tab; Prefer On-Net Routing and On-Net Zero Rate are on the OnNet tab.
- Platform administrators: change checkboxes and click Update.
Prefer on-net routing¶
When enabled, outbound calls to phone numbers that exist on the QVOICE Platform platform are routed on-net (within the cluster) instead of through the PSTN trunk, even when the destination would normally force outbound.
| Account field | Default |
|---|---|
prefer_onnet |
false |
On-net zero rate¶
When enabled, outbound calls that are routed on-net via the platform loopback receive a zero per-minute rate for this account. Rating uses Hotornot with a synthetic zero rate for those legs.
| Account field | Default |
|---|---|
onnet_zero_rate |
false |
This is separate from off-net zero rate. It applies only to on-net loopback legs, not PSTN/trunk calls. See Off-Net Inbound and Off-Net Outbound above for PSTN zero-rate settings.
flowchart TB
subgraph onnet [On-net path]
PO[prefer_onnet] --> route[Route on platform]
OZ[onnet_zero_rate] --> hotornot[Hotornot zero rate]
end
subgraph offnet [Off-net PSTN path]
IN[inbound_offnet_zero_rate] --> ecallmgr_in[ecallmgr authz — inbound DID]
OUT[outbound_offnet_zero_rate] --> ecallmgr_out[ecallmgr authz — outbound trunk]
end
API (platform administrators)
These flags are stored on the Kazoo account document. Example:
PATCH /v2/accounts/{ACCOUNT_ID}
Content-Type: application/json
{
"data": {
"prefer_onnet": true,
"onnet_zero_rate": true,
"inbound_offnet_zero_rate": true,
"outbound_offnet_zero_rate": true
}
}
Good to know
- All four flags default to off (
false). - Off-net zero rate affects PSTN/trunk legs only; on-net zero rate affects platform loopback legs only — they are independent.
- Enabling zero rate does not change call routing; it only changes how those legs are rated on CDRs and usage reports.
- Use off-net zero rate only when commercial or internal billing policy requires free PSTN legs for a specific account (for example trials, bundled trunk packages, or reseller arrangements).
- Changes take effect on new calls after the account is saved; existing active calls keep their original rating.
