Skip to main content

SIP trunks

A SIP trunk is the tenant's connection to a carrier, PBX, or SIP provider. It defines the numbers that reach Voxtronics, the address Voxtronics uses for outbound calls, and the authentication and media behavior the provider expects. Routes consume trunks; a trunk does not talk to an agent on its own.

Create a trunk with New trunk.

Voxtronics SIP proxy​

Voxtronics receives SIP traffic through the SIP proxy at platform.voxtronics.net. The SIP Trunks page shows the proxy endpoints and the tenant SIP domain at the top of the page.

TransportPortEndpoint
UDP22344platform.voxtronics.net
TCP22344platform.voxtronics.net
TLS22345platform.voxtronics.net

Configure the outbound proxy of your PBX, SBC, or SIP host to platform.voxtronics.net with one of these transports and ports. Depending on the device, the same setting may be called SIP server, SIP proxy, or outbound proxy. Use TLS port 22345 when the host supports encrypted signaling.

Set the outbound proxy to platform.voxtronics.net, but use the tenant SIP domain as the SIP domain in the URI. A call addressed only to the proxy host is rejected. SIP compatibility and proxy setup covers device field mapping, transports, codecs, media encryption, and troubleshooting.

The tenant SIP domain is separate from the proxy host. It is assigned to the tenant, shown in Settings → General and on the SIP Trunks page, and is the realm to use when a device authenticates. Use the tenant SIP domain when a provider or device asks for the tenant's SIP domain or realm. The optional SIP domain and SIP domain override fields on a trunk are separate per-trunk values used for transfer destinations.

Trunk settings​

SettingWhat it does
NameIdentifies the trunk in routes and call records.
DirectionInbound only receives calls, Outbound only places them, and Inbound + outbound does both. Fixed after creation.
DescriptionOptional note about the trunk for other operators.

Choose the direction from what the provider actually sold you, not from what you plan to test later, because the underlying trunk is provisioned differently for each direction.

Inbound settings​

SettingWhat it does
NumbersOptional. The numbers the provider will send to Voxtronics. Enter them separated by commas or new lines, with at least three digits each. Leave the list empty to accept any called number; a trunk with an explicit matching number is preferred over one without a list. The route can narrow matching calls further with its called pattern.
Allowed addressesThe source addresses allowed to use the trunk. Required unless auth username and password are configured. Accepts single IPv4 or IPv6 addresses and IPv4 CIDR blocks.
Allowed numbersOptional caller-number allow-list. Leave it empty to accept any caller number.
Auth usernameThe SIP username the provider expects.
Auth passwordThe SIP password. It is write-only: after saving, the form shows only whether a password exists, and leaving the field blank during an edit keeps the current value.
SIP domainOptional. Used when Voxtronics builds a transfer destination for a referred call. Set it when the provider expects a specific domain in the Refer-To URI; otherwise the transfer uses the available call headers or a telephone URI.
Media encryptionDisabled uses unencrypted media, allowed accepts both encrypted and unencrypted calls, and required rejects a call that cannot be encrypted.

An inbound trunk must have either an allowed source address or auth username and password. This protects the number from unauthorized use. If the device asks for a realm, use the tenant SIP domain.

Inbound number matching is exact, so enter the numbers as the provider sends them, including a leading + and the country code. Caller-number allow-lists ignore spaces, dashes, parentheses, dots, and a leading +.

Match media encryption to the provider, because a mismatch usually appears as a failed call or one-way audio. See SIP compatibility and proxy setup for the supported codecs and encryption behavior.

Outbound settings​

SettingWhat it does
AddressThe provider's SIP endpoint, for example a hostname or host and port.
NumbersThe caller IDs the tenant may present. The outbound call uses the first number unless a caller ID is supplied.
Destination countryOptional two-letter country code that helps the provider route the call.
TransportAutomatic, UDP, TCP, or TLS. Choose what the provider requires.
SIP domain overrideOptional. Used for transfer destinations when the provider needs a particular domain rather than the address host.
Auth usernameThe SIP username the provider expects.
Auth passwordThe SIP password. Write-only, as on the inbound side.
Media encryptionDisabled, allowed, or required.

A trunk can be inbound, outbound, or both, and the two directions keep separate settings. The same rules apply in both directions: the username and password are the provider's credentials, and encryption must match the provider. Media encryption belongs to the trunk in both directions; a route does not override it.

Changing a trunk​

Changes to a trunk are applied to the underlying connection when you save. This means a trunk is a live external resource, not just a local record. Test after changing an address, a number, authentication, or encryption, and use a low-traffic window when the trunk carries production calls. A trunk that a route depends on should be changed deliberately, because a failed update can affect every call that uses it.

Use one trunk per provider connection and give it a name that identifies the carrier and purpose. If you have several numbers from the same provider, they can share one inbound trunk; use routes to send different numbers to different agents. If you have separate accounts, regions, or media requirements, use separate trunks so that a change to one does not disturb the other.