Trunk

Xelion Object
      ↪ Entity
          ↪ Trunk


A PBX trunk

Fields

Name Type Notes

providerName

String

The name of the provider of the trunk.

host

String

Registration host.

port

String

Registration port.

account

String

Registration account.

authenticationAccount

String

Optional SIP authentication account.

password

String

Registration account.

transportType

Trunk Transport Type

Transport type for trunk: UDP, TLS, TLS/SRV, TLS/NAPTR.

outboundProxy

String

Allow for a different proxy for outbound calls

outboundPort

String

The proxy port number.

dontRegisterWithServer

Boolean

Set to true if the server requires you to register

serverNet

String

Optional gateway network (for routing)

gateway

String

Optional gateway: route access to the host through this gateway

defaultCallerNr

String

The organisation’s external number. This number is set when an external number is dialed. this references an address from the assigned numbers list.

assignedNumbers

[Trunk Extension]

The phone numbers the provider assigned to this trunk.

acceptUnknownNumbers

Boolean

Match incoming calls by the ip address of the trunk only.

defaultLine

Phone Line

Default line for unrecognized numbers.

allowPeerToPeer

Boolean

Allow peer to peer connection with this trunk the audio then bypasses the pbx no audio recording is possible this only works if the phone is not (detectable) behind nat.

useAsFallback

Boolean

Use as a fallback when trunks are found for the requested number.

supportsSenderId

Boolean

true if we can use different numbers as caller id.

supportsRedirect

Boolean

true if the trunk supports redirect.

supportsAnonymous

Boolean

true if the trun supports anonymous dialing.

alwaysAnonymous

Boolean

true if all calls are anonymous.

anonymousCallerName

String

The caller name for anonymous caller.

anonymousCallerId

String

The caller id for anonymous caller.

useAssertedIdentity

Boolean

Use p-asserted-identity.

usePreferredIdentity

Boolean

Use p-preferred-identity.

useDefaultCallerNrAsIdentity

Boolean

Use the default trunk number for p-preferred/asserted-identity

useDiversionHeader

Boolean

Use diversion headers.

useMediaSecHeaders

Boolean

Use media sec headers.

keepAlive

Boolean

If true then send keepalive messages to the trunk.

registrationTimeOut

Integer

Default registration timeout in seconds.

dialPrefixes

[Number Prefix]

Use this trunk for numbers that start with these prefixes.

defaultNormalization

Normalization Type

Map numbers when dialing this account.

numberMapping

[Number Mapping]

Telephone numbers rewrite rules.

registrationStatus

String

Status of trunk registration. For sip this may be one of (not sure if all of these are exposed via the manager api, at least "Registered" and "Timeout" are used though):

* Registered

* Unregistered

* Request Sent

* Auth. Sent

* Rejected

* Timeout

* No Authentication

* Unreachable

registrationDate

datetime

Registration date.

rejectedRegistrationCause

String

The cause of rejected registration if available

customSIPOptions

String

extra sip options that will be appended to the sip section for rhis trunk

snmpId

Integer

Select an ID for the SNMP MIB.