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