Trunk Object
Description
Json API object with type 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 |
Nullable |
Is Required? |
Description |
---|---|---|---|---|
priority |
|
No |
Yes |
The priority of this target host. |
weight |
|
No |
Yes |
A trunk selection mechanism. |
capacity_limit |
|
No |
Yes |
Maximum number of simultaneous calls for the trunk. |
ringing_timeout |
|
No |
Yes |
After which it will be end transaction with internal disconnect code Ringing timeout if the call was not connected. |
name |
|
No |
Yes |
Friendly name of the trunk. |
cli_format |
|
No |
Yes |
RAW - Do not alter CLI (default). |
cli_prefix |
|
No |
Yes |
You may prefix the CLI with an optional |
description |
|
No |
Optional |
Optional description of the trunk. |
configuration |
One of sip_configurations , |
N/A |
Yes |
Trunk configuration complex object. |
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. |
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. |
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 |
Mandatory |
The transport layer that will be responsible for the actual transmission of SIP requests and responses (1 - UDP, 2 - TCP 3 - TLS). |
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. |