Voice IN Trunk Object
Description
Json API object with type voice_in_trunks
. You can get several type of trunks: SIP, PSTN, H323, IAX2.
Request
URI Parameters
Name |
Type |
Is Required? |
Description |
---|---|---|---|
id |
|
Yes |
Unique ID identifier of the Trunk. |
Data Attributes
Name |
Type |
Description |
---|---|---|
priority |
|
The priority of this target host. |
weight |
|
A trunk selection mechanism. |
capacity_limit |
|
Maximum number of simultaneous calls for the trunk. |
ringing_timeout |
|
After which it will be end transaction with internal disconnect code Ringing timeout if the call was not connected. |
name |
|
Friendly name of the trunk. |
cli_format |
|
RAW - Do not alter CLI (default). |
cli_prefix |
|
You may prefix the CLI with an optional |
description |
|
Optional description of the trunk. |
configuration |
Trunk configuration complex object. |
|
created_at |
DateTime |
Trunk created at DateTime |
Attributes Configuration
Name |
Type |
Nullable |
Is Required? |
Description |
---|---|---|---|---|
type |
|
No |
Yes |
SIP configuration complex object. |
attributes |
No |
Yes |
SIP configuration attributes object. |
Name |
Type |
Nullable |
Is Required? |
Description |
---|---|---|---|---|
type |
|
No |
Yes |
PSTN configuration complex object. |
attributes |
No |
Yes |
PSTN configuration attributes object. |
Configuration Attributes
Name |
Type |
Nullable |
Is Required? |
Description |
---|---|---|---|---|
username |
|
No |
Yes |
User part of R-URI in INVITE request. |
host |
|
No |
Yes |
Host part of R-URI in INVITE request. |
transport_protocol_id |
|
No |
No |
Transport protocol ID. Possible values: |
media_encryption_mode |
|
No |
No |
Media encryption mode. |
stir_shaken_mode |
|
No |
No |
Stir/Shaken mode. |
auth_user |
|
No |
No |
Optional authorization user for the SIP server. |
auth_password |
|
No |
No |
Optional authorization password for the SIP server. |
auth_from_user |
|
No |
No |
Specify user in a from field instead of CallerID (overrides CallerID). |
auth_from_domain |
|
No |
No |
Sets default from domain in SIP messages. Some equipment may require specific From Domain. |
sst_refresh_method_id |
|
No |
No |
SIP method which will be used for session update. |
sip_timer_b |
|
No |
No |
INVITE transaction timeout (Default 8000ms). |
dns_srv_failover_timer |
|
No |
No |
Invite transaction timeout for each of gateways with DNS SRV rerouting (Default 2000ms). |
rtp_ping |
|
No |
No |
Use RTP PING when connecting a call. |
rtp_timeout |
|
No |
No |
Disconnect the call if the RTP packets do not arrive within the specified time. |
allowed_rtp_ips |
Array of |
No |
No |
The allowed RTP IPs. Array from 0 to 10 items: IPv4 or IPv6, single or subnet. |
sst_min_timer |
|
No |
No |
Minimal SIP Session timer value (Default 600 seconds). |
sst_max_timer |
|
No |
No |
Maximal SIP Session timer value (Default 900 seconds). |
sst_session_expires |
|
No |
No |
Session-Expires header value. Optional, should be in range with sst_min_timer and sst_max_timer. |
port |
|
No |
No |
Port part of R-URI in INVITE request (is not mandatory). |
rx_dtmf_format_id |
|
No |
No |
The method id for receiving DTMF signals from customers equipment. |
tx_dtmf_format_id |
|
No |
No |
The method of sending DTMF signals to customers equipment. |
force_symmetric_rtp |
|
No |
No |
Forced to work in Symmetric RTP / COMEDIA mode. |
symmetric_rtp_ignore_rtcp |
|
No |
No |
Avoid switching RTP session based on RTCP packet while working in Symmetric RTP / COMEDIA. |
sst_enabled |
|
No |
No |
Enable SIP Session timers customization. |
sst_accept_501 |
|
No |
No |
Do not drop the call after receiving SIP 501 response for non-critical messages. |
auth_enabled |
|
No |
No |
Enable authorization for the SIP server. |
resolve_ruri |
|
No |
No |
Replace host part of the R-URI by resolved IP address. |
rerouting_disconnect_code_ids |
|
No |
No |
|
codec_ids |
|
No |
No |
|
transport_protocol_id |
|
No |
No |
The transport layer that will be responsible for the actual transmission of SIP requests and responses (1 - UDP, 2 - TCP). |
max_transfers |
|
No |
No |
Max count of the REFER requests. |
max_30x_redirects |
|
No |
No |
Max count of 301/302 redirects. |
Name |
Type |
Nullable |
Is Required? |
Description |
---|---|---|---|---|
dst |
|
No |
Yes |
Phone number’s. |