telnyx 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/credential_connection.rb +69 -1
- data/lib/telnyx/models/credential_connection_create_params.rb +53 -1
- data/lib/telnyx/models/credential_connection_update_params.rb +53 -1
- data/lib/telnyx/models/credential_inbound.rb +26 -1
- data/lib/telnyx/models/fqdn_connection.rb +69 -1
- data/lib/telnyx/models/fqdn_connection_create_params.rb +52 -1
- data/lib/telnyx/models/fqdn_connection_update_params.rb +52 -1
- data/lib/telnyx/models/ip_connection.rb +69 -1
- data/lib/telnyx/models/ip_connection_create_params.rb +52 -1
- data/lib/telnyx/models/ip_connection_update_params.rb +52 -1
- data/lib/telnyx/resources/credential_connections.rb +6 -2
- data/lib/telnyx/resources/fqdn_connections.rb +6 -2
- data/lib/telnyx/resources/ip_connections.rb +6 -2
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/credential_connection.rbi +110 -0
- data/rbi/telnyx/models/credential_connection_create_params.rbi +101 -0
- data/rbi/telnyx/models/credential_connection_update_params.rbi +101 -0
- data/rbi/telnyx/models/credential_inbound.rbi +60 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +108 -0
- data/rbi/telnyx/models/fqdn_connection_create_params.rbi +98 -0
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +98 -0
- data/rbi/telnyx/models/ip_connection.rbi +105 -0
- data/rbi/telnyx/models/ip_connection_create_params.rbi +94 -0
- data/rbi/telnyx/models/ip_connection_update_params.rbi +94 -0
- data/rbi/telnyx/resources/credential_connections.rbi +16 -0
- data/rbi/telnyx/resources/fqdn_connections.rbi +16 -0
- data/rbi/telnyx/resources/ip_connections.rbi +14 -0
- data/sig/telnyx/models/credential_connection.rbs +52 -0
- data/sig/telnyx/models/credential_connection_create_params.rbs +42 -0
- data/sig/telnyx/models/credential_connection_update_params.rbs +42 -0
- data/sig/telnyx/models/credential_inbound.rbs +20 -0
- data/sig/telnyx/models/fqdn_connection.rbs +52 -0
- data/sig/telnyx/models/fqdn_connection_create_params.rbs +42 -0
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +42 -0
- data/sig/telnyx/models/ip_connection.rbs +52 -0
- data/sig/telnyx/models/ip_connection_create_params.rbs +42 -0
- data/sig/telnyx/models/ip_connection_update_params.rbs +42 -0
- data/sig/telnyx/resources/credential_connections.rbs +2 -0
- data/sig/telnyx/resources/fqdn_connections.rbs +2 -0
- data/sig/telnyx/resources/ip_connections.rbs +2 -0
- metadata +2 -2
|
@@ -24,6 +24,12 @@ module Telnyx
|
|
|
24
24
|
# @return [Symbol, Telnyx::Models::AnchorsiteOverride, nil]
|
|
25
25
|
optional :anchorsite_override, enum: -> { Telnyx::AnchorsiteOverride }
|
|
26
26
|
|
|
27
|
+
# @!attribute android_push_credential_id
|
|
28
|
+
# The uuid of the push credential for Android
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
optional :android_push_credential_id, String, nil?: true
|
|
32
|
+
|
|
27
33
|
# @!attribute call_cost_in_webhooks
|
|
28
34
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
29
35
|
#
|
|
@@ -75,6 +81,22 @@ module Telnyx
|
|
|
75
81
|
# @return [Telnyx::Models::InboundIP, nil]
|
|
76
82
|
optional :inbound, -> { Telnyx::InboundIP }
|
|
77
83
|
|
|
84
|
+
# @!attribute ios_push_credential_id
|
|
85
|
+
# The uuid of the push credential for Ios
|
|
86
|
+
#
|
|
87
|
+
# @return [String, nil]
|
|
88
|
+
optional :ios_push_credential_id, String, nil?: true
|
|
89
|
+
|
|
90
|
+
# @!attribute jitter_buffer
|
|
91
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
92
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
93
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
94
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
95
|
+
# sensitive to jitter and reordering.
|
|
96
|
+
#
|
|
97
|
+
# @return [Telnyx::Models::IPConnection::JitterBuffer, nil]
|
|
98
|
+
optional :jitter_buffer, -> { Telnyx::IPConnection::JitterBuffer }
|
|
99
|
+
|
|
78
100
|
# @!attribute noise_suppression
|
|
79
101
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
80
102
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
@@ -162,7 +184,7 @@ module Telnyx
|
|
|
162
184
|
# @return [Integer, nil]
|
|
163
185
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
164
186
|
|
|
165
|
-
# @!method initialize(id: nil, active: nil, anchorsite_override: nil, call_cost_in_webhooks: nil, connection_name: nil, created_at: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, record_type: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, updated_at: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
187
|
+
# @!method initialize(id: nil, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, created_at: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, record_type: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, updated_at: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
|
|
166
188
|
# Some parameter documentations has been truncated, see
|
|
167
189
|
# {Telnyx::Models::IPConnection} for more details.
|
|
168
190
|
#
|
|
@@ -172,6 +194,8 @@ module Telnyx
|
|
|
172
194
|
#
|
|
173
195
|
# @param anchorsite_override [Symbol, Telnyx::Models::AnchorsiteOverride] `Latency` directs Telnyx to route media through the site with the lowest round-t
|
|
174
196
|
#
|
|
197
|
+
# @param android_push_credential_id [String, nil] The uuid of the push credential for Android
|
|
198
|
+
#
|
|
175
199
|
# @param call_cost_in_webhooks [Boolean] Specifies if call cost webhooks should be sent for this connection.
|
|
176
200
|
#
|
|
177
201
|
# @param connection_name [String]
|
|
@@ -188,6 +212,10 @@ module Telnyx
|
|
|
188
212
|
#
|
|
189
213
|
# @param inbound [Telnyx::Models::InboundIP]
|
|
190
214
|
#
|
|
215
|
+
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
216
|
+
#
|
|
217
|
+
# @param jitter_buffer [Telnyx::Models::IPConnection::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
218
|
+
#
|
|
191
219
|
# @param noise_suppression [Symbol, Telnyx::Models::IPConnection::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
192
220
|
#
|
|
193
221
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -214,6 +242,46 @@ module Telnyx
|
|
|
214
242
|
#
|
|
215
243
|
# @param webhook_timeout_secs [Integer, nil] Specifies how many seconds to wait before timing out a webhook.
|
|
216
244
|
|
|
245
|
+
# @see Telnyx::Models::IPConnection#jitter_buffer
|
|
246
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
247
|
+
# @!attribute enable_jitter_buffer
|
|
248
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
249
|
+
# unless enabled.
|
|
250
|
+
#
|
|
251
|
+
# @return [Boolean, nil]
|
|
252
|
+
optional :enable_jitter_buffer, Telnyx::Internal::Type::Boolean
|
|
253
|
+
|
|
254
|
+
# @!attribute jitterbuffer_msec_max
|
|
255
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
256
|
+
# no effect if enable_jitter_buffer is not true.
|
|
257
|
+
#
|
|
258
|
+
# @return [Integer, nil]
|
|
259
|
+
optional :jitterbuffer_msec_max, Integer
|
|
260
|
+
|
|
261
|
+
# @!attribute jitterbuffer_msec_min
|
|
262
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
263
|
+
# no effect if enable_jitter_buffer is not true.
|
|
264
|
+
#
|
|
265
|
+
# @return [Integer, nil]
|
|
266
|
+
optional :jitterbuffer_msec_min, Integer
|
|
267
|
+
|
|
268
|
+
# @!method initialize(enable_jitter_buffer: nil, jitterbuffer_msec_max: nil, jitterbuffer_msec_min: nil)
|
|
269
|
+
# Some parameter documentations has been truncated, see
|
|
270
|
+
# {Telnyx::Models::IPConnection::JitterBuffer} for more details.
|
|
271
|
+
#
|
|
272
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
273
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
274
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
275
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
276
|
+
# sensitive to jitter and reordering.
|
|
277
|
+
#
|
|
278
|
+
# @param enable_jitter_buffer [Boolean] Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
279
|
+
#
|
|
280
|
+
# @param jitterbuffer_msec_max [Integer] The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
281
|
+
#
|
|
282
|
+
# @param jitterbuffer_msec_min [Integer] The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
283
|
+
end
|
|
284
|
+
|
|
217
285
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
218
286
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
219
287
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -78,6 +78,16 @@ module Telnyx
|
|
|
78
78
|
# @return [String, nil]
|
|
79
79
|
optional :ios_push_credential_id, String, nil?: true
|
|
80
80
|
|
|
81
|
+
# @!attribute jitter_buffer
|
|
82
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
83
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
84
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
85
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
86
|
+
# sensitive to jitter and reordering.
|
|
87
|
+
#
|
|
88
|
+
# @return [Telnyx::Models::IPConnectionCreateParams::JitterBuffer, nil]
|
|
89
|
+
optional :jitter_buffer, -> { Telnyx::IPConnectionCreateParams::JitterBuffer }
|
|
90
|
+
|
|
81
91
|
# @!attribute noise_suppression
|
|
82
92
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
83
93
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
@@ -153,7 +163,7 @@ module Telnyx
|
|
|
153
163
|
# @return [Integer, nil]
|
|
154
164
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
155
165
|
|
|
156
|
-
# @!method initialize(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
166
|
+
# @!method initialize(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
157
167
|
# Some parameter documentations has been truncated, see
|
|
158
168
|
# {Telnyx::Models::IPConnectionCreateParams} for more details.
|
|
159
169
|
#
|
|
@@ -179,6 +189,8 @@ module Telnyx
|
|
|
179
189
|
#
|
|
180
190
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
181
191
|
#
|
|
192
|
+
# @param jitter_buffer [Telnyx::Models::IPConnectionCreateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
193
|
+
#
|
|
182
194
|
# @param noise_suppression [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
183
195
|
#
|
|
184
196
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -422,6 +434,45 @@ module Telnyx
|
|
|
422
434
|
end
|
|
423
435
|
end
|
|
424
436
|
|
|
437
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
438
|
+
# @!attribute enable_jitter_buffer
|
|
439
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
440
|
+
# unless enabled.
|
|
441
|
+
#
|
|
442
|
+
# @return [Boolean, nil]
|
|
443
|
+
optional :enable_jitter_buffer, Telnyx::Internal::Type::Boolean
|
|
444
|
+
|
|
445
|
+
# @!attribute jitterbuffer_msec_max
|
|
446
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
447
|
+
# no effect if enable_jitter_buffer is not true.
|
|
448
|
+
#
|
|
449
|
+
# @return [Integer, nil]
|
|
450
|
+
optional :jitterbuffer_msec_max, Integer
|
|
451
|
+
|
|
452
|
+
# @!attribute jitterbuffer_msec_min
|
|
453
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
454
|
+
# no effect if enable_jitter_buffer is not true.
|
|
455
|
+
#
|
|
456
|
+
# @return [Integer, nil]
|
|
457
|
+
optional :jitterbuffer_msec_min, Integer
|
|
458
|
+
|
|
459
|
+
# @!method initialize(enable_jitter_buffer: nil, jitterbuffer_msec_max: nil, jitterbuffer_msec_min: nil)
|
|
460
|
+
# Some parameter documentations has been truncated, see
|
|
461
|
+
# {Telnyx::Models::IPConnectionCreateParams::JitterBuffer} for more details.
|
|
462
|
+
#
|
|
463
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
464
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
465
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
466
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
467
|
+
# sensitive to jitter and reordering.
|
|
468
|
+
#
|
|
469
|
+
# @param enable_jitter_buffer [Boolean] Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
470
|
+
#
|
|
471
|
+
# @param jitterbuffer_msec_max [Integer] The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
472
|
+
#
|
|
473
|
+
# @param jitterbuffer_msec_min [Integer] The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
474
|
+
end
|
|
475
|
+
|
|
425
476
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
426
477
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
427
478
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -78,6 +78,16 @@ module Telnyx
|
|
|
78
78
|
# @return [String, nil]
|
|
79
79
|
optional :ios_push_credential_id, String, nil?: true
|
|
80
80
|
|
|
81
|
+
# @!attribute jitter_buffer
|
|
82
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
83
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
84
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
85
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
86
|
+
# sensitive to jitter and reordering.
|
|
87
|
+
#
|
|
88
|
+
# @return [Telnyx::Models::IPConnectionUpdateParams::JitterBuffer, nil]
|
|
89
|
+
optional :jitter_buffer, -> { Telnyx::IPConnectionUpdateParams::JitterBuffer }
|
|
90
|
+
|
|
81
91
|
# @!attribute noise_suppression
|
|
82
92
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
83
93
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
@@ -153,7 +163,7 @@ module Telnyx
|
|
|
153
163
|
# @return [Integer, nil]
|
|
154
164
|
optional :webhook_timeout_secs, Integer, nil?: true
|
|
155
165
|
|
|
156
|
-
# @!method initialize(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
166
|
+
# @!method initialize(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
157
167
|
# Some parameter documentations has been truncated, see
|
|
158
168
|
# {Telnyx::Models::IPConnectionUpdateParams} for more details.
|
|
159
169
|
#
|
|
@@ -179,6 +189,8 @@ module Telnyx
|
|
|
179
189
|
#
|
|
180
190
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
181
191
|
#
|
|
192
|
+
# @param jitter_buffer [Telnyx::Models::IPConnectionUpdateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
193
|
+
#
|
|
182
194
|
# @param noise_suppression [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
183
195
|
#
|
|
184
196
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -203,6 +215,45 @@ module Telnyx
|
|
|
203
215
|
#
|
|
204
216
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
205
217
|
|
|
218
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
219
|
+
# @!attribute enable_jitter_buffer
|
|
220
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
221
|
+
# unless enabled.
|
|
222
|
+
#
|
|
223
|
+
# @return [Boolean, nil]
|
|
224
|
+
optional :enable_jitter_buffer, Telnyx::Internal::Type::Boolean
|
|
225
|
+
|
|
226
|
+
# @!attribute jitterbuffer_msec_max
|
|
227
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
228
|
+
# no effect if enable_jitter_buffer is not true.
|
|
229
|
+
#
|
|
230
|
+
# @return [Integer, nil]
|
|
231
|
+
optional :jitterbuffer_msec_max, Integer
|
|
232
|
+
|
|
233
|
+
# @!attribute jitterbuffer_msec_min
|
|
234
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
235
|
+
# no effect if enable_jitter_buffer is not true.
|
|
236
|
+
#
|
|
237
|
+
# @return [Integer, nil]
|
|
238
|
+
optional :jitterbuffer_msec_min, Integer
|
|
239
|
+
|
|
240
|
+
# @!method initialize(enable_jitter_buffer: nil, jitterbuffer_msec_max: nil, jitterbuffer_msec_min: nil)
|
|
241
|
+
# Some parameter documentations has been truncated, see
|
|
242
|
+
# {Telnyx::Models::IPConnectionUpdateParams::JitterBuffer} for more details.
|
|
243
|
+
#
|
|
244
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
245
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
246
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
247
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
248
|
+
# sensitive to jitter and reordering.
|
|
249
|
+
#
|
|
250
|
+
# @param enable_jitter_buffer [Boolean] Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
251
|
+
#
|
|
252
|
+
# @param jitterbuffer_msec_max [Integer] The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
253
|
+
#
|
|
254
|
+
# @param jitterbuffer_msec_min [Integer] The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
255
|
+
end
|
|
256
|
+
|
|
206
257
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
207
258
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
208
259
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -11,7 +11,7 @@ module Telnyx
|
|
|
11
11
|
#
|
|
12
12
|
# Creates a credential connection.
|
|
13
13
|
#
|
|
14
|
-
# @overload create(connection_name:, password:, user_name:, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
14
|
+
# @overload create(connection_name:, password:, user_name:, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
15
15
|
#
|
|
16
16
|
# @param connection_name [String] A user-assigned name to help manage the connection.
|
|
17
17
|
#
|
|
@@ -39,6 +39,8 @@ module Telnyx
|
|
|
39
39
|
#
|
|
40
40
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
41
41
|
#
|
|
42
|
+
# @param jitter_buffer [Telnyx::Models::CredentialConnectionCreateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
43
|
+
#
|
|
42
44
|
# @param noise_suppression [Symbol, Telnyx::Models::CredentialConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
43
45
|
#
|
|
44
46
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -102,7 +104,7 @@ module Telnyx
|
|
|
102
104
|
#
|
|
103
105
|
# Updates settings of an existing credential connection.
|
|
104
106
|
#
|
|
105
|
-
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, password: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
107
|
+
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, password: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
106
108
|
#
|
|
107
109
|
# @param id [String] Identifies the resource.
|
|
108
110
|
#
|
|
@@ -128,6 +130,8 @@ module Telnyx
|
|
|
128
130
|
#
|
|
129
131
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
130
132
|
#
|
|
133
|
+
# @param jitter_buffer [Telnyx::Models::CredentialConnectionUpdateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
134
|
+
#
|
|
131
135
|
# @param noise_suppression [Symbol, Telnyx::Models::CredentialConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
132
136
|
#
|
|
133
137
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -8,7 +8,7 @@ module Telnyx
|
|
|
8
8
|
#
|
|
9
9
|
# Creates a FQDN connection.
|
|
10
10
|
#
|
|
11
|
-
# @overload create(connection_name:, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, microsoft_teams_sbc: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
11
|
+
# @overload create(connection_name:, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, microsoft_teams_sbc: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param connection_name [String] A user-assigned name to help manage the connection.
|
|
14
14
|
#
|
|
@@ -32,6 +32,8 @@ module Telnyx
|
|
|
32
32
|
#
|
|
33
33
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
34
34
|
#
|
|
35
|
+
# @param jitter_buffer [Telnyx::Models::FqdnConnectionCreateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
36
|
+
#
|
|
35
37
|
# @param microsoft_teams_sbc [Boolean] When enabled, the connection will be created for Microsoft Teams Direct Routing.
|
|
36
38
|
#
|
|
37
39
|
# @param noise_suppression [Symbol, Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
@@ -97,7 +99,7 @@ module Telnyx
|
|
|
97
99
|
#
|
|
98
100
|
# Updates settings of an existing FQDN connection.
|
|
99
101
|
#
|
|
100
|
-
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
102
|
+
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
101
103
|
#
|
|
102
104
|
# @param id [String] Identifies the resource.
|
|
103
105
|
#
|
|
@@ -123,6 +125,8 @@ module Telnyx
|
|
|
123
125
|
#
|
|
124
126
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
125
127
|
#
|
|
128
|
+
# @param jitter_buffer [Telnyx::Models::FqdnConnectionUpdateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
129
|
+
#
|
|
126
130
|
# @param noise_suppression [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
127
131
|
#
|
|
128
132
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -8,7 +8,7 @@ module Telnyx
|
|
|
8
8
|
#
|
|
9
9
|
# Creates an IP connection.
|
|
10
10
|
#
|
|
11
|
-
# @overload create(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
11
|
+
# @overload create(active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param active [Boolean] Defaults to true
|
|
14
14
|
#
|
|
@@ -32,6 +32,8 @@ module Telnyx
|
|
|
32
32
|
#
|
|
33
33
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
34
34
|
#
|
|
35
|
+
# @param jitter_buffer [Telnyx::Models::IPConnectionCreateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
36
|
+
#
|
|
35
37
|
# @param noise_suppression [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
36
38
|
#
|
|
37
39
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
|
@@ -95,7 +97,7 @@ module Telnyx
|
|
|
95
97
|
#
|
|
96
98
|
# Updates settings of an existing IP connection.
|
|
97
99
|
#
|
|
98
|
-
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
100
|
+
# @overload update(id, active: nil, anchorsite_override: nil, android_push_credential_id: nil, call_cost_in_webhooks: nil, connection_name: nil, default_on_hold_comfort_noise_enabled: nil, dtmf_type: nil, encode_contact_header_enabled: nil, encrypted_media: nil, inbound: nil, ios_push_credential_id: nil, jitter_buffer: nil, noise_suppression: nil, noise_suppression_details: nil, onnet_t38_passthrough_enabled: nil, outbound: nil, rtcp_settings: nil, tags: nil, transport_protocol: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil, request_options: {})
|
|
99
101
|
#
|
|
100
102
|
# @param id [String] Identifies the type of resource.
|
|
101
103
|
#
|
|
@@ -121,6 +123,8 @@ module Telnyx
|
|
|
121
123
|
#
|
|
122
124
|
# @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
|
|
123
125
|
#
|
|
126
|
+
# @param jitter_buffer [Telnyx::Models::IPConnectionUpdateParams::JitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
|
|
127
|
+
#
|
|
124
128
|
# @param noise_suppression [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
|
|
125
129
|
#
|
|
126
130
|
# @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -33,6 +33,10 @@ module Telnyx
|
|
|
33
33
|
end
|
|
34
34
|
attr_writer :anchorsite_override
|
|
35
35
|
|
|
36
|
+
# The uuid of the push credential for Android
|
|
37
|
+
sig { returns(T.nilable(String)) }
|
|
38
|
+
attr_accessor :android_push_credential_id
|
|
39
|
+
|
|
36
40
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
37
41
|
sig { returns(T.nilable(T::Boolean)) }
|
|
38
42
|
attr_reader :call_cost_in_webhooks
|
|
@@ -89,6 +93,25 @@ module Telnyx
|
|
|
89
93
|
sig { params(inbound: Telnyx::CredentialInbound::OrHash).void }
|
|
90
94
|
attr_writer :inbound
|
|
91
95
|
|
|
96
|
+
# The uuid of the push credential for Ios
|
|
97
|
+
sig { returns(T.nilable(String)) }
|
|
98
|
+
attr_accessor :ios_push_credential_id
|
|
99
|
+
|
|
100
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
101
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
102
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
103
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
104
|
+
# sensitive to jitter and reordering.
|
|
105
|
+
sig { returns(T.nilable(Telnyx::CredentialConnection::JitterBuffer)) }
|
|
106
|
+
attr_reader :jitter_buffer
|
|
107
|
+
|
|
108
|
+
sig do
|
|
109
|
+
params(
|
|
110
|
+
jitter_buffer: Telnyx::CredentialConnection::JitterBuffer::OrHash
|
|
111
|
+
).void
|
|
112
|
+
end
|
|
113
|
+
attr_writer :jitter_buffer
|
|
114
|
+
|
|
92
115
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
93
116
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
94
117
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -246,6 +269,7 @@ module Telnyx
|
|
|
246
269
|
id: String,
|
|
247
270
|
active: T::Boolean,
|
|
248
271
|
anchorsite_override: Telnyx::AnchorsiteOverride::OrSymbol,
|
|
272
|
+
android_push_credential_id: T.nilable(String),
|
|
249
273
|
call_cost_in_webhooks: T::Boolean,
|
|
250
274
|
connection_name: String,
|
|
251
275
|
created_at: String,
|
|
@@ -254,6 +278,8 @@ module Telnyx
|
|
|
254
278
|
encode_contact_header_enabled: T::Boolean,
|
|
255
279
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
256
280
|
inbound: Telnyx::CredentialInbound::OrHash,
|
|
281
|
+
ios_push_credential_id: T.nilable(String),
|
|
282
|
+
jitter_buffer: Telnyx::CredentialConnection::JitterBuffer::OrHash,
|
|
257
283
|
noise_suppression:
|
|
258
284
|
Telnyx::CredentialConnection::NoiseSuppression::OrSymbol,
|
|
259
285
|
noise_suppression_details:
|
|
@@ -284,6 +310,8 @@ module Telnyx
|
|
|
284
310
|
# round-trip time to the user's connection. Telnyx calculates this time using ICMP
|
|
285
311
|
# ping messages. This can be disabled by specifying a site to handle all media.
|
|
286
312
|
anchorsite_override: nil,
|
|
313
|
+
# The uuid of the push credential for Android
|
|
314
|
+
android_push_credential_id: nil,
|
|
287
315
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
288
316
|
call_cost_in_webhooks: nil,
|
|
289
317
|
connection_name: nil,
|
|
@@ -303,6 +331,14 @@ module Telnyx
|
|
|
303
331
|
# TLS.
|
|
304
332
|
encrypted_media: nil,
|
|
305
333
|
inbound: nil,
|
|
334
|
+
# The uuid of the push credential for Ios
|
|
335
|
+
ios_push_credential_id: nil,
|
|
336
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
337
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
338
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
339
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
340
|
+
# sensitive to jitter and reordering.
|
|
341
|
+
jitter_buffer: nil,
|
|
306
342
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
307
343
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
308
344
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -357,6 +393,7 @@ module Telnyx
|
|
|
357
393
|
id: String,
|
|
358
394
|
active: T::Boolean,
|
|
359
395
|
anchorsite_override: Telnyx::AnchorsiteOverride::TaggedSymbol,
|
|
396
|
+
android_push_credential_id: T.nilable(String),
|
|
360
397
|
call_cost_in_webhooks: T::Boolean,
|
|
361
398
|
connection_name: String,
|
|
362
399
|
created_at: String,
|
|
@@ -365,6 +402,8 @@ module Telnyx
|
|
|
365
402
|
encode_contact_header_enabled: T::Boolean,
|
|
366
403
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::TaggedSymbol),
|
|
367
404
|
inbound: Telnyx::CredentialInbound,
|
|
405
|
+
ios_push_credential_id: T.nilable(String),
|
|
406
|
+
jitter_buffer: Telnyx::CredentialConnection::JitterBuffer,
|
|
368
407
|
noise_suppression:
|
|
369
408
|
Telnyx::CredentialConnection::NoiseSuppression::TaggedSymbol,
|
|
370
409
|
noise_suppression_details:
|
|
@@ -390,6 +429,77 @@ module Telnyx
|
|
|
390
429
|
def to_hash
|
|
391
430
|
end
|
|
392
431
|
|
|
432
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
433
|
+
OrHash =
|
|
434
|
+
T.type_alias do
|
|
435
|
+
T.any(
|
|
436
|
+
Telnyx::CredentialConnection::JitterBuffer,
|
|
437
|
+
Telnyx::Internal::AnyHash
|
|
438
|
+
)
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
442
|
+
# unless enabled.
|
|
443
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
444
|
+
attr_reader :enable_jitter_buffer
|
|
445
|
+
|
|
446
|
+
sig { params(enable_jitter_buffer: T::Boolean).void }
|
|
447
|
+
attr_writer :enable_jitter_buffer
|
|
448
|
+
|
|
449
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
450
|
+
# no effect if enable_jitter_buffer is not true.
|
|
451
|
+
sig { returns(T.nilable(Integer)) }
|
|
452
|
+
attr_reader :jitterbuffer_msec_max
|
|
453
|
+
|
|
454
|
+
sig { params(jitterbuffer_msec_max: Integer).void }
|
|
455
|
+
attr_writer :jitterbuffer_msec_max
|
|
456
|
+
|
|
457
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
458
|
+
# no effect if enable_jitter_buffer is not true.
|
|
459
|
+
sig { returns(T.nilable(Integer)) }
|
|
460
|
+
attr_reader :jitterbuffer_msec_min
|
|
461
|
+
|
|
462
|
+
sig { params(jitterbuffer_msec_min: Integer).void }
|
|
463
|
+
attr_writer :jitterbuffer_msec_min
|
|
464
|
+
|
|
465
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
466
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
467
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
468
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
469
|
+
# sensitive to jitter and reordering.
|
|
470
|
+
sig do
|
|
471
|
+
params(
|
|
472
|
+
enable_jitter_buffer: T::Boolean,
|
|
473
|
+
jitterbuffer_msec_max: Integer,
|
|
474
|
+
jitterbuffer_msec_min: Integer
|
|
475
|
+
).returns(T.attached_class)
|
|
476
|
+
end
|
|
477
|
+
def self.new(
|
|
478
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
479
|
+
# unless enabled.
|
|
480
|
+
enable_jitter_buffer: nil,
|
|
481
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
482
|
+
# no effect if enable_jitter_buffer is not true.
|
|
483
|
+
jitterbuffer_msec_max: nil,
|
|
484
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
485
|
+
# no effect if enable_jitter_buffer is not true.
|
|
486
|
+
jitterbuffer_msec_min: nil
|
|
487
|
+
)
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
sig do
|
|
491
|
+
override.returns(
|
|
492
|
+
{
|
|
493
|
+
enable_jitter_buffer: T::Boolean,
|
|
494
|
+
jitterbuffer_msec_max: Integer,
|
|
495
|
+
jitterbuffer_msec_min: Integer
|
|
496
|
+
}
|
|
497
|
+
)
|
|
498
|
+
end
|
|
499
|
+
def to_hash
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
393
503
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
394
504
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
395
505
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|