Skip to content

Trunk Parameters

Cloud Voice can export your SIP (Session Initiation Protocol) trunks to a CSV (comma-separated values) file and create trunks in bulk by importing that same format. This page describes every column in the file so you can build a valid import or make sense of an export.

ParameterDescriptionRequirementValues and rulesDefault
NameIdentifies the trunk.RequiredUp to 63 characters. Spaces and special characters are not allowed, and the name must be unique.N/A
Trunk StatusTurns the trunk on or off.Required0 (disabled) or 1 (enabled).1
Trunk TypeThe kind of trunk.Requiredregister, did_based, port_based, or private_network. Account trunks cannot be imported.register
TransportSignaling transport agreed with the provider.RequiredDepends on Trunk Type: port_based allows udp; did_based allows udp or tcp; private_network allows udp, tcp, or tls; register allows udp, tcp, tls, or dnsnaptr.udp
Hostname/IPThe provider’s IP address or domain.RequiredUp to 255 characters.N/A
PortThe signaling port for the trunk.RequiredA number from 0 to 65535.N/A
DomainThe domain used in the SIP URI of headers such as From and To. If the provider does not supply one, reuse the Hostname/IP value.RequiredUp to 255 characters.N/A
UsernameThe account name used to register with the provider.Required when Trunk Type is register.Up to 255 characters.N/A
PasswordThe password paired with the username.Required when Trunk Type is register.Up to 255 characters.N/A
Authentication NameThe authentication identity used to register with the provider.OptionalUp to 255 characters.N/A
Enable Outbound ProxyWhether calls are routed through an outbound proxy.Required when Trunk Type is register.0 (disabled) or 1 (enabled).0
Outbound Proxy ServerAddress of the outbound proxy.Required when Enable Outbound Proxy is 1.Up to 255 characters.N/A
Port of Outbound Proxy ServerPort of the outbound proxy.Required when Enable Outbound Proxy is 1.A number from 1 to 65535.N/A
Codec SettingAudio and video codecs offered on the trunk.RequiredOne or more of ulaw, alaw, g729, gsm, h264, h263, h263p, ilbc, g722, g726, speex, adpcm, vp8, mpeg4, opus. List them in preference order joined by & (for example, ulaw&alaw). Any unsupported entry is ignored.ulaw&alaw&gsm&h264&ilbc&g722&g726&g729
DTMF ModeHow DTMF tones are sent.Requiredrfc4733, info, inband, or auto.rfc4733
DTMF FMTPThe fmtp value used when DTMF Mode is rfc4733.Optional0-16 or 0-15.0-16
QualifyWhether to send SIP OPTIONS packets to check that the peer is reachable.Required0 (disabled) or 1 (enabled).1
Enable SRTPWhether to encrypt media (RTP) on the trunk.Required0 (disabled) or 1 (enabled).0
T.38 SupportWhether T.38 fax is allowed.Required0 (disabled) or 1 (enabled).0
Inband ProgressWhether inband progress is used.Required0 (disabled) or 1 (enabled).0
Ignore 183 Message without SDPWhether to drop 183 responses that carry no SDP.Required0 (disabled) or 1 (enabled).0
Forward the 180 (SDP) Message Following the Peer’s FormatWhether Cloud Voice mirrors the far end, sending a 180 with SDP only when the 180 it received contained SDP.Required0 (disabled) or 1 (enabled).0
Dedicated TrunkWhether the trunk needs a dedicated internal IP address to connect.Optional0 (disabled) or 1 (enabled).0
Enable SIP Authentication CacheWhether Cloud Voice caches a successful SIP authentication and reuses it for later requests (such as INVITE and BYE) within the same session or registration cycle.Optional0 (disabled) or 1 (enabled).0
Force SIP URI SchemeWhether to force the sip: scheme instead of sips: in registration requests, downgrading signaling from encrypted to unencrypted. Available only when Trunk Type is register and Transport is tls or dnsnaptr.Optional0 (disabled) or 1 (enabled).0
Ignore 100 Trying ResponseWhether to ignore the 100 Trying response. Available only when Trunk Type is register.Optional0 (disabled) or 1 (enabled).0
Support SIP REFERWhether the trunk accepts SIP REFER requests.Optional0 (disabled) or 1 (enabled).0
Allow Transfer ToDestination types permitted for blind transfers driven by REFER. Available only when Support SIP REFER is 1.Required when Support SIP REFER is 1.external_number, internal_number, or external_number&internal_number.N/A
PrefixPrefix that Cloud Voice prepends to the REFER target number so a blind transfer matches an outbound route. Available only when Support SIP REFER is 1 and Allow Transfer To includes external numbers.OptionalDigits and the characters * # ( ) . - +; up to 7 characters.N/A
Maximum Concurrent CallsCap on simultaneous calls over the trunk.RequiredDigits only, up to 5 characters; 0 means unlimited.0
Call Restriction TypeWhich calls the concurrent-call cap applies to.Requiredoutbound or all.outbound
Outbound Failover SIP CodeWhether failover uses the built-in SIP codes or a custom list. When a matching code is returned, the call fails over to the next trunk on the outbound route and is retried.Requireddefault (codes 408, 500, 502, 503, 513, 555, 580) or custom.default
SIP CodesThe response codes that trigger failover when Outbound Failover SIP Code is custom.Required when Outbound Failover SIP Code is custom.Up to 127 characters, allowing as many as 32 codes separated by ;. Only codes in the 300-699 range take effect.408;500;502;503;513;555;580
Default Outbound Caller IDThe caller ID shown on the callee’s device. It must be permitted by the provider.OptionalDigits, letters, and the characters ( ) . - + * #; up to 31 characters.N/A
Default Outbound Caller ID NameThe caller ID name shown on the callee’s device.OptionalUp to 127 characters.N/A
Get Caller ID FromWhich SIP header the trunk reads the caller ID from on inbound calls.Requiredfollow_system, from, contact, rpid, pai, or ppi.follow_system
Get DID FromWhich SIP header the trunk reads the DID from on inbound calls. Because providers place the DID in different headers, set this after inspecting the provider’s SIP packets; an incorrect header causes the call to fail.Requiredfollow_system, to, invite, diversion, rpid, pai, ppi, or pcpid.follow_system
From User PartThe caller ID placed in the user part of the From header.Requireddefault, ext_cid, trunk_user (register trunks only), trunk_def_outbcid, ext_outbcid, outrounter_outbcid, originator_cid, or a custom value (digits, letters, and ( ) . - + * #; up to 31 characters).default
From Display Name PartThe caller ID name placed in the display-name part of the From header.Requireddefault, ext_cid_name, trunk_def_outbcid_name, ext_outbcid_name, originator_cid_name, or a custom value (up to 63 characters).default
DiversionThe value carried in the Diversion header. Leave empty to omit the header.Optionaldefault, ext_cid, trunk_user (register trunks only), trunk_def_outbcid, ext_outbcid, outrounter_outbcid, originator_cid, or a custom value (up to 31 characters, using digits, letters, and ( ) . - + * #).N/A
Remote-Party-IDThe value carried in the Remote-Party-ID header. Leave empty to omit the header.OptionalSame choices as Diversion.N/A
P-Asserted-IdentityThe value carried in the P-Asserted-Identity header. Leave empty to omit the header.OptionalSame choices as Diversion.N/A
P-Preferred-IdentityThe value carried in the P-Preferred-Identity header. Leave empty to omit the header.OptionalSame choices as Diversion.N/A
From Host PartThe domain or IP placed in the From field of the SIP INVITE. Applies to peer trunks only.Requireddefault or a custom value (up to 255 characters).default
To Host PartThe domain or IP placed in the To field of the SIP INVITE. Applies to peer trunks only.Requireddefault or a custom value (up to 255 characters).default
User AgentThe User Agent string, when the provider requires it for authentication.OptionalUp to 255 characters.N/A
RealmThe realm string presented to users so they know which credentials to use.OptionalUp to 255 characters.N/A
Send Privacy IDWhether to include the Privacy ID in the SIP header.Required0 (disabled) or 1 (enabled).0
User PhoneWhether to append user=phone to the request line of the SIP INVITE.Required0 (disabled) or 1 (enabled).0
Send X-OpenAPI-Call-IDWhether to add an X-OpenAPI-Call-ID header to the SIP INVITE so the Call ID travels with inbound and outbound calls routed over the trunk.Required0 (disabled) or 1 (enabled).0
100relHow the trunk handles 100rel (reliable provisional responses).RequiredRequired, Supported, or Disabled.Disabled
MaxptimeThe Maxptime advertised in outbound INVITEs.Requireddefault (Cloud Voice sends a value matching the codec used for the call) or a custom value that is a multiple of 10 from 20 to 300.default
Support P-Early-MediaWhether the INVITE includes the P-Early-Media header.Required0 (disabled) or 1 (enabled).0
DID/DDIA virtual number that identifies which path of the trunk is carrying the call.Required when Trunk Type is register or did_based.Up to 31 characters. For register or did_based: digits, letters, and ( ) . - + * #. For port_based or private_network: digits, letters, and [ ] * # ( ) . - + !.N/A
DID/DDI NameA label for the DID/DDI.OptionalUp to 127 characters.N/A
Force Selected DOD in From HeaderWhether to ignore the trunk’s From User Part setting and force the extension’s chosen DOD number into the From header when a user selects a specific DOD for an outbound call.Optional0 (disabled) or 1 (enabled).1
Return 302 on External ForwardWhether to return a 302 Moved Temporarily response when an inbound call is forwarded to an external number, letting the carrier redirect the call itself.Optional0 (disabled) or 1 (enabled).0