telnyx 5.2.0 → 5.4.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 +16 -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/models/private_wireless_gateway_status.rb +2 -3
- data/lib/telnyx/models/sim_card_list_params.rb +3 -11
- 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/models/private_wireless_gateway_status.rbi +2 -4
- data/rbi/telnyx/models/sim_card_list_params.rbi +3 -14
- 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/rbi/telnyx/resources/sim_cards.rbi +1 -1
- 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/models/sim_card_list_params.rbs +0 -7
- 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
|
@@ -87,6 +87,24 @@ module Telnyx
|
|
|
87
87
|
sig { returns(T.nilable(String)) }
|
|
88
88
|
attr_accessor :ios_push_credential_id
|
|
89
89
|
|
|
90
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
91
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
92
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
93
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
94
|
+
# sensitive to jitter and reordering.
|
|
95
|
+
sig do
|
|
96
|
+
returns(T.nilable(Telnyx::FqdnConnectionUpdateParams::JitterBuffer))
|
|
97
|
+
end
|
|
98
|
+
attr_reader :jitter_buffer
|
|
99
|
+
|
|
100
|
+
sig do
|
|
101
|
+
params(
|
|
102
|
+
jitter_buffer:
|
|
103
|
+
Telnyx::FqdnConnectionUpdateParams::JitterBuffer::OrHash
|
|
104
|
+
).void
|
|
105
|
+
end
|
|
106
|
+
attr_writer :jitter_buffer
|
|
107
|
+
|
|
90
108
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
91
109
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
92
110
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -200,6 +218,8 @@ module Telnyx
|
|
|
200
218
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
201
219
|
inbound: Telnyx::InboundFqdn::OrHash,
|
|
202
220
|
ios_push_credential_id: T.nilable(String),
|
|
221
|
+
jitter_buffer:
|
|
222
|
+
Telnyx::FqdnConnectionUpdateParams::JitterBuffer::OrHash,
|
|
203
223
|
noise_suppression:
|
|
204
224
|
Telnyx::FqdnConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
205
225
|
noise_suppression_details:
|
|
@@ -245,6 +265,12 @@ module Telnyx
|
|
|
245
265
|
inbound: nil,
|
|
246
266
|
# The uuid of the push credential for Ios
|
|
247
267
|
ios_push_credential_id: nil,
|
|
268
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
269
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
270
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
271
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
272
|
+
# sensitive to jitter and reordering.
|
|
273
|
+
jitter_buffer: nil,
|
|
248
274
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
249
275
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
250
276
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -294,6 +320,7 @@ module Telnyx
|
|
|
294
320
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
295
321
|
inbound: Telnyx::InboundFqdn,
|
|
296
322
|
ios_push_credential_id: T.nilable(String),
|
|
323
|
+
jitter_buffer: Telnyx::FqdnConnectionUpdateParams::JitterBuffer,
|
|
297
324
|
noise_suppression:
|
|
298
325
|
Telnyx::FqdnConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
299
326
|
noise_suppression_details:
|
|
@@ -314,6 +341,77 @@ module Telnyx
|
|
|
314
341
|
def to_hash
|
|
315
342
|
end
|
|
316
343
|
|
|
344
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
345
|
+
OrHash =
|
|
346
|
+
T.type_alias do
|
|
347
|
+
T.any(
|
|
348
|
+
Telnyx::FqdnConnectionUpdateParams::JitterBuffer,
|
|
349
|
+
Telnyx::Internal::AnyHash
|
|
350
|
+
)
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
354
|
+
# unless enabled.
|
|
355
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
356
|
+
attr_reader :enable_jitter_buffer
|
|
357
|
+
|
|
358
|
+
sig { params(enable_jitter_buffer: T::Boolean).void }
|
|
359
|
+
attr_writer :enable_jitter_buffer
|
|
360
|
+
|
|
361
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
362
|
+
# no effect if enable_jitter_buffer is not true.
|
|
363
|
+
sig { returns(T.nilable(Integer)) }
|
|
364
|
+
attr_reader :jitterbuffer_msec_max
|
|
365
|
+
|
|
366
|
+
sig { params(jitterbuffer_msec_max: Integer).void }
|
|
367
|
+
attr_writer :jitterbuffer_msec_max
|
|
368
|
+
|
|
369
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
370
|
+
# no effect if enable_jitter_buffer is not true.
|
|
371
|
+
sig { returns(T.nilable(Integer)) }
|
|
372
|
+
attr_reader :jitterbuffer_msec_min
|
|
373
|
+
|
|
374
|
+
sig { params(jitterbuffer_msec_min: Integer).void }
|
|
375
|
+
attr_writer :jitterbuffer_msec_min
|
|
376
|
+
|
|
377
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
378
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
379
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
380
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
381
|
+
# sensitive to jitter and reordering.
|
|
382
|
+
sig do
|
|
383
|
+
params(
|
|
384
|
+
enable_jitter_buffer: T::Boolean,
|
|
385
|
+
jitterbuffer_msec_max: Integer,
|
|
386
|
+
jitterbuffer_msec_min: Integer
|
|
387
|
+
).returns(T.attached_class)
|
|
388
|
+
end
|
|
389
|
+
def self.new(
|
|
390
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
391
|
+
# unless enabled.
|
|
392
|
+
enable_jitter_buffer: nil,
|
|
393
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
394
|
+
# no effect if enable_jitter_buffer is not true.
|
|
395
|
+
jitterbuffer_msec_max: nil,
|
|
396
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
397
|
+
# no effect if enable_jitter_buffer is not true.
|
|
398
|
+
jitterbuffer_msec_min: nil
|
|
399
|
+
)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
sig do
|
|
403
|
+
override.returns(
|
|
404
|
+
{
|
|
405
|
+
enable_jitter_buffer: T::Boolean,
|
|
406
|
+
jitterbuffer_msec_max: Integer,
|
|
407
|
+
jitterbuffer_msec_min: Integer
|
|
408
|
+
}
|
|
409
|
+
)
|
|
410
|
+
end
|
|
411
|
+
def to_hash
|
|
412
|
+
end
|
|
413
|
+
end
|
|
414
|
+
|
|
317
415
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
318
416
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
319
417
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -31,6 +31,10 @@ module Telnyx
|
|
|
31
31
|
end
|
|
32
32
|
attr_writer :anchorsite_override
|
|
33
33
|
|
|
34
|
+
# The uuid of the push credential for Android
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_accessor :android_push_credential_id
|
|
37
|
+
|
|
34
38
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
35
39
|
sig { returns(T.nilable(T::Boolean)) }
|
|
36
40
|
attr_reader :call_cost_in_webhooks
|
|
@@ -87,6 +91,23 @@ module Telnyx
|
|
|
87
91
|
sig { params(inbound: Telnyx::InboundIP::OrHash).void }
|
|
88
92
|
attr_writer :inbound
|
|
89
93
|
|
|
94
|
+
# The uuid of the push credential for Ios
|
|
95
|
+
sig { returns(T.nilable(String)) }
|
|
96
|
+
attr_accessor :ios_push_credential_id
|
|
97
|
+
|
|
98
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
99
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
100
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
101
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
102
|
+
# sensitive to jitter and reordering.
|
|
103
|
+
sig { returns(T.nilable(Telnyx::IPConnection::JitterBuffer)) }
|
|
104
|
+
attr_reader :jitter_buffer
|
|
105
|
+
|
|
106
|
+
sig do
|
|
107
|
+
params(jitter_buffer: Telnyx::IPConnection::JitterBuffer::OrHash).void
|
|
108
|
+
end
|
|
109
|
+
attr_writer :jitter_buffer
|
|
110
|
+
|
|
90
111
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
91
112
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
92
113
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -213,6 +234,7 @@ module Telnyx
|
|
|
213
234
|
id: String,
|
|
214
235
|
active: T::Boolean,
|
|
215
236
|
anchorsite_override: Telnyx::AnchorsiteOverride::OrSymbol,
|
|
237
|
+
android_push_credential_id: T.nilable(String),
|
|
216
238
|
call_cost_in_webhooks: T::Boolean,
|
|
217
239
|
connection_name: String,
|
|
218
240
|
created_at: String,
|
|
@@ -221,6 +243,8 @@ module Telnyx
|
|
|
221
243
|
encode_contact_header_enabled: T::Boolean,
|
|
222
244
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
223
245
|
inbound: Telnyx::InboundIP::OrHash,
|
|
246
|
+
ios_push_credential_id: T.nilable(String),
|
|
247
|
+
jitter_buffer: Telnyx::IPConnection::JitterBuffer::OrHash,
|
|
224
248
|
noise_suppression: Telnyx::IPConnection::NoiseSuppression::OrSymbol,
|
|
225
249
|
noise_suppression_details:
|
|
226
250
|
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
@@ -247,6 +271,8 @@ module Telnyx
|
|
|
247
271
|
# round-trip time to the user's connection. Telnyx calculates this time using ICMP
|
|
248
272
|
# ping messages. This can be disabled by specifying a site to handle all media.
|
|
249
273
|
anchorsite_override: nil,
|
|
274
|
+
# The uuid of the push credential for Android
|
|
275
|
+
android_push_credential_id: nil,
|
|
250
276
|
# Specifies if call cost webhooks should be sent for this connection.
|
|
251
277
|
call_cost_in_webhooks: nil,
|
|
252
278
|
connection_name: nil,
|
|
@@ -266,6 +292,14 @@ module Telnyx
|
|
|
266
292
|
# TLS.
|
|
267
293
|
encrypted_media: nil,
|
|
268
294
|
inbound: nil,
|
|
295
|
+
# The uuid of the push credential for Ios
|
|
296
|
+
ios_push_credential_id: nil,
|
|
297
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
298
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
299
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
300
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
301
|
+
# sensitive to jitter and reordering.
|
|
302
|
+
jitter_buffer: nil,
|
|
269
303
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
270
304
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
271
305
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -310,6 +344,7 @@ module Telnyx
|
|
|
310
344
|
id: String,
|
|
311
345
|
active: T::Boolean,
|
|
312
346
|
anchorsite_override: Telnyx::AnchorsiteOverride::TaggedSymbol,
|
|
347
|
+
android_push_credential_id: T.nilable(String),
|
|
313
348
|
call_cost_in_webhooks: T::Boolean,
|
|
314
349
|
connection_name: String,
|
|
315
350
|
created_at: String,
|
|
@@ -318,6 +353,8 @@ module Telnyx
|
|
|
318
353
|
encode_contact_header_enabled: T::Boolean,
|
|
319
354
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::TaggedSymbol),
|
|
320
355
|
inbound: Telnyx::InboundIP,
|
|
356
|
+
ios_push_credential_id: T.nilable(String),
|
|
357
|
+
jitter_buffer: Telnyx::IPConnection::JitterBuffer,
|
|
321
358
|
noise_suppression:
|
|
322
359
|
Telnyx::IPConnection::NoiseSuppression::TaggedSymbol,
|
|
323
360
|
noise_suppression_details:
|
|
@@ -341,6 +378,74 @@ module Telnyx
|
|
|
341
378
|
def to_hash
|
|
342
379
|
end
|
|
343
380
|
|
|
381
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
382
|
+
OrHash =
|
|
383
|
+
T.type_alias do
|
|
384
|
+
T.any(Telnyx::IPConnection::JitterBuffer, Telnyx::Internal::AnyHash)
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
388
|
+
# unless enabled.
|
|
389
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
390
|
+
attr_reader :enable_jitter_buffer
|
|
391
|
+
|
|
392
|
+
sig { params(enable_jitter_buffer: T::Boolean).void }
|
|
393
|
+
attr_writer :enable_jitter_buffer
|
|
394
|
+
|
|
395
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
396
|
+
# no effect if enable_jitter_buffer is not true.
|
|
397
|
+
sig { returns(T.nilable(Integer)) }
|
|
398
|
+
attr_reader :jitterbuffer_msec_max
|
|
399
|
+
|
|
400
|
+
sig { params(jitterbuffer_msec_max: Integer).void }
|
|
401
|
+
attr_writer :jitterbuffer_msec_max
|
|
402
|
+
|
|
403
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
404
|
+
# no effect if enable_jitter_buffer is not true.
|
|
405
|
+
sig { returns(T.nilable(Integer)) }
|
|
406
|
+
attr_reader :jitterbuffer_msec_min
|
|
407
|
+
|
|
408
|
+
sig { params(jitterbuffer_msec_min: Integer).void }
|
|
409
|
+
attr_writer :jitterbuffer_msec_min
|
|
410
|
+
|
|
411
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
412
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
413
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
414
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
415
|
+
# sensitive to jitter and reordering.
|
|
416
|
+
sig do
|
|
417
|
+
params(
|
|
418
|
+
enable_jitter_buffer: T::Boolean,
|
|
419
|
+
jitterbuffer_msec_max: Integer,
|
|
420
|
+
jitterbuffer_msec_min: Integer
|
|
421
|
+
).returns(T.attached_class)
|
|
422
|
+
end
|
|
423
|
+
def self.new(
|
|
424
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
425
|
+
# unless enabled.
|
|
426
|
+
enable_jitter_buffer: nil,
|
|
427
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
428
|
+
# no effect if enable_jitter_buffer is not true.
|
|
429
|
+
jitterbuffer_msec_max: nil,
|
|
430
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
431
|
+
# no effect if enable_jitter_buffer is not true.
|
|
432
|
+
jitterbuffer_msec_min: nil
|
|
433
|
+
)
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
sig do
|
|
437
|
+
override.returns(
|
|
438
|
+
{
|
|
439
|
+
enable_jitter_buffer: T::Boolean,
|
|
440
|
+
jitterbuffer_msec_max: Integer,
|
|
441
|
+
jitterbuffer_msec_min: Integer
|
|
442
|
+
}
|
|
443
|
+
)
|
|
444
|
+
end
|
|
445
|
+
def to_hash
|
|
446
|
+
end
|
|
447
|
+
end
|
|
448
|
+
|
|
344
449
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
345
450
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
346
451
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -88,6 +88,21 @@ module Telnyx
|
|
|
88
88
|
sig { returns(T.nilable(String)) }
|
|
89
89
|
attr_accessor :ios_push_credential_id
|
|
90
90
|
|
|
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
|
+
sig { returns(T.nilable(Telnyx::IPConnectionCreateParams::JitterBuffer)) }
|
|
97
|
+
attr_reader :jitter_buffer
|
|
98
|
+
|
|
99
|
+
sig do
|
|
100
|
+
params(
|
|
101
|
+
jitter_buffer: Telnyx::IPConnectionCreateParams::JitterBuffer::OrHash
|
|
102
|
+
).void
|
|
103
|
+
end
|
|
104
|
+
attr_writer :jitter_buffer
|
|
105
|
+
|
|
91
106
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
92
107
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
93
108
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -219,6 +234,7 @@ module Telnyx
|
|
|
219
234
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
220
235
|
inbound: Telnyx::IPConnectionCreateParams::Inbound::OrHash,
|
|
221
236
|
ios_push_credential_id: T.nilable(String),
|
|
237
|
+
jitter_buffer: Telnyx::IPConnectionCreateParams::JitterBuffer::OrHash,
|
|
222
238
|
noise_suppression:
|
|
223
239
|
Telnyx::IPConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
224
240
|
noise_suppression_details:
|
|
@@ -265,6 +281,12 @@ module Telnyx
|
|
|
265
281
|
inbound: nil,
|
|
266
282
|
# The uuid of the push credential for Ios
|
|
267
283
|
ios_push_credential_id: nil,
|
|
284
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
285
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
286
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
287
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
288
|
+
# sensitive to jitter and reordering.
|
|
289
|
+
jitter_buffer: nil,
|
|
268
290
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
269
291
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
270
292
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -314,6 +336,7 @@ module Telnyx
|
|
|
314
336
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
315
337
|
inbound: Telnyx::IPConnectionCreateParams::Inbound,
|
|
316
338
|
ios_push_credential_id: T.nilable(String),
|
|
339
|
+
jitter_buffer: Telnyx::IPConnectionCreateParams::JitterBuffer,
|
|
317
340
|
noise_suppression:
|
|
318
341
|
Telnyx::IPConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
319
342
|
noise_suppression_details:
|
|
@@ -832,6 +855,77 @@ module Telnyx
|
|
|
832
855
|
end
|
|
833
856
|
end
|
|
834
857
|
|
|
858
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
859
|
+
OrHash =
|
|
860
|
+
T.type_alias do
|
|
861
|
+
T.any(
|
|
862
|
+
Telnyx::IPConnectionCreateParams::JitterBuffer,
|
|
863
|
+
Telnyx::Internal::AnyHash
|
|
864
|
+
)
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
868
|
+
# unless enabled.
|
|
869
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
870
|
+
attr_reader :enable_jitter_buffer
|
|
871
|
+
|
|
872
|
+
sig { params(enable_jitter_buffer: T::Boolean).void }
|
|
873
|
+
attr_writer :enable_jitter_buffer
|
|
874
|
+
|
|
875
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
876
|
+
# no effect if enable_jitter_buffer is not true.
|
|
877
|
+
sig { returns(T.nilable(Integer)) }
|
|
878
|
+
attr_reader :jitterbuffer_msec_max
|
|
879
|
+
|
|
880
|
+
sig { params(jitterbuffer_msec_max: Integer).void }
|
|
881
|
+
attr_writer :jitterbuffer_msec_max
|
|
882
|
+
|
|
883
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
884
|
+
# no effect if enable_jitter_buffer is not true.
|
|
885
|
+
sig { returns(T.nilable(Integer)) }
|
|
886
|
+
attr_reader :jitterbuffer_msec_min
|
|
887
|
+
|
|
888
|
+
sig { params(jitterbuffer_msec_min: Integer).void }
|
|
889
|
+
attr_writer :jitterbuffer_msec_min
|
|
890
|
+
|
|
891
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
892
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
893
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
894
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
895
|
+
# sensitive to jitter and reordering.
|
|
896
|
+
sig do
|
|
897
|
+
params(
|
|
898
|
+
enable_jitter_buffer: T::Boolean,
|
|
899
|
+
jitterbuffer_msec_max: Integer,
|
|
900
|
+
jitterbuffer_msec_min: Integer
|
|
901
|
+
).returns(T.attached_class)
|
|
902
|
+
end
|
|
903
|
+
def self.new(
|
|
904
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
905
|
+
# unless enabled.
|
|
906
|
+
enable_jitter_buffer: nil,
|
|
907
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
908
|
+
# no effect if enable_jitter_buffer is not true.
|
|
909
|
+
jitterbuffer_msec_max: nil,
|
|
910
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
911
|
+
# no effect if enable_jitter_buffer is not true.
|
|
912
|
+
jitterbuffer_msec_min: nil
|
|
913
|
+
)
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
sig do
|
|
917
|
+
override.returns(
|
|
918
|
+
{
|
|
919
|
+
enable_jitter_buffer: T::Boolean,
|
|
920
|
+
jitterbuffer_msec_max: Integer,
|
|
921
|
+
jitterbuffer_msec_min: Integer
|
|
922
|
+
}
|
|
923
|
+
)
|
|
924
|
+
end
|
|
925
|
+
def to_hash
|
|
926
|
+
end
|
|
927
|
+
end
|
|
928
|
+
|
|
835
929
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
836
930
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
837
931
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -86,6 +86,21 @@ module Telnyx
|
|
|
86
86
|
sig { returns(T.nilable(String)) }
|
|
87
87
|
attr_accessor :ios_push_credential_id
|
|
88
88
|
|
|
89
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
90
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
91
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
92
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
93
|
+
# sensitive to jitter and reordering.
|
|
94
|
+
sig { returns(T.nilable(Telnyx::IPConnectionUpdateParams::JitterBuffer)) }
|
|
95
|
+
attr_reader :jitter_buffer
|
|
96
|
+
|
|
97
|
+
sig do
|
|
98
|
+
params(
|
|
99
|
+
jitter_buffer: Telnyx::IPConnectionUpdateParams::JitterBuffer::OrHash
|
|
100
|
+
).void
|
|
101
|
+
end
|
|
102
|
+
attr_writer :jitter_buffer
|
|
103
|
+
|
|
89
104
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
90
105
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
91
106
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -217,6 +232,7 @@ module Telnyx
|
|
|
217
232
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
218
233
|
inbound: Telnyx::InboundIP::OrHash,
|
|
219
234
|
ios_push_credential_id: T.nilable(String),
|
|
235
|
+
jitter_buffer: Telnyx::IPConnectionUpdateParams::JitterBuffer::OrHash,
|
|
220
236
|
noise_suppression:
|
|
221
237
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
222
238
|
noise_suppression_details:
|
|
@@ -263,6 +279,12 @@ module Telnyx
|
|
|
263
279
|
inbound: nil,
|
|
264
280
|
# The uuid of the push credential for Ios
|
|
265
281
|
ios_push_credential_id: nil,
|
|
282
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
283
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
284
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
285
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
286
|
+
# sensitive to jitter and reordering.
|
|
287
|
+
jitter_buffer: nil,
|
|
266
288
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
267
289
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
268
290
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -312,6 +334,7 @@ module Telnyx
|
|
|
312
334
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
313
335
|
inbound: Telnyx::InboundIP,
|
|
314
336
|
ios_push_credential_id: T.nilable(String),
|
|
337
|
+
jitter_buffer: Telnyx::IPConnectionUpdateParams::JitterBuffer,
|
|
315
338
|
noise_suppression:
|
|
316
339
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
317
340
|
noise_suppression_details:
|
|
@@ -334,6 +357,77 @@ module Telnyx
|
|
|
334
357
|
def to_hash
|
|
335
358
|
end
|
|
336
359
|
|
|
360
|
+
class JitterBuffer < Telnyx::Internal::Type::BaseModel
|
|
361
|
+
OrHash =
|
|
362
|
+
T.type_alias do
|
|
363
|
+
T.any(
|
|
364
|
+
Telnyx::IPConnectionUpdateParams::JitterBuffer,
|
|
365
|
+
Telnyx::Internal::AnyHash
|
|
366
|
+
)
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
370
|
+
# unless enabled.
|
|
371
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
372
|
+
attr_reader :enable_jitter_buffer
|
|
373
|
+
|
|
374
|
+
sig { params(enable_jitter_buffer: T::Boolean).void }
|
|
375
|
+
attr_writer :enable_jitter_buffer
|
|
376
|
+
|
|
377
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
378
|
+
# no effect if enable_jitter_buffer is not true.
|
|
379
|
+
sig { returns(T.nilable(Integer)) }
|
|
380
|
+
attr_reader :jitterbuffer_msec_max
|
|
381
|
+
|
|
382
|
+
sig { params(jitterbuffer_msec_max: Integer).void }
|
|
383
|
+
attr_writer :jitterbuffer_msec_max
|
|
384
|
+
|
|
385
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
386
|
+
# no effect if enable_jitter_buffer is not true.
|
|
387
|
+
sig { returns(T.nilable(Integer)) }
|
|
388
|
+
attr_reader :jitterbuffer_msec_min
|
|
389
|
+
|
|
390
|
+
sig { params(jitterbuffer_msec_min: Integer).void }
|
|
391
|
+
attr_writer :jitterbuffer_msec_min
|
|
392
|
+
|
|
393
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
394
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
395
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
396
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
397
|
+
# sensitive to jitter and reordering.
|
|
398
|
+
sig do
|
|
399
|
+
params(
|
|
400
|
+
enable_jitter_buffer: T::Boolean,
|
|
401
|
+
jitterbuffer_msec_max: Integer,
|
|
402
|
+
jitterbuffer_msec_min: Integer
|
|
403
|
+
).returns(T.attached_class)
|
|
404
|
+
end
|
|
405
|
+
def self.new(
|
|
406
|
+
# Enables Jitter Buffer for RTP streams of SIP Trunking calls. The feature is off
|
|
407
|
+
# unless enabled.
|
|
408
|
+
enable_jitter_buffer: nil,
|
|
409
|
+
# The maximum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
410
|
+
# no effect if enable_jitter_buffer is not true.
|
|
411
|
+
jitterbuffer_msec_max: nil,
|
|
412
|
+
# The minimum jitter buffer size in milliseconds. Must be between 40 and 400. Has
|
|
413
|
+
# no effect if enable_jitter_buffer is not true.
|
|
414
|
+
jitterbuffer_msec_min: nil
|
|
415
|
+
)
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
sig do
|
|
419
|
+
override.returns(
|
|
420
|
+
{
|
|
421
|
+
enable_jitter_buffer: T::Boolean,
|
|
422
|
+
jitterbuffer_msec_max: Integer,
|
|
423
|
+
jitterbuffer_msec_min: Integer
|
|
424
|
+
}
|
|
425
|
+
)
|
|
426
|
+
end
|
|
427
|
+
def to_hash
|
|
428
|
+
end
|
|
429
|
+
end
|
|
430
|
+
|
|
337
431
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
338
432
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
339
433
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -8,8 +8,7 @@ module Telnyx
|
|
|
8
8
|
T.any(Telnyx::PrivateWirelessGatewayStatus, Telnyx::Internal::AnyHash)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
# This attribute is an
|
|
12
|
-
# [error code](https://developers.telnyx.com/development/api-fundamentals/api-errors)
|
|
11
|
+
# This attribute is an [error code](https://developers.telnyx.com/api/errors)
|
|
13
12
|
# related to the failure reason.
|
|
14
13
|
sig { returns(T.nilable(String)) }
|
|
15
14
|
attr_accessor :error_code
|
|
@@ -49,8 +48,7 @@ module Telnyx
|
|
|
49
48
|
).returns(T.attached_class)
|
|
50
49
|
end
|
|
51
50
|
def self.new(
|
|
52
|
-
# This attribute is an
|
|
53
|
-
# [error code](https://developers.telnyx.com/development/api-fundamentals/api-errors)
|
|
51
|
+
# This attribute is an [error code](https://developers.telnyx.com/api/errors)
|
|
54
52
|
# related to the failure reason.
|
|
55
53
|
error_code: nil,
|
|
56
54
|
# This attribute provides a human-readable explanation of why a failure happened.
|
|
@@ -12,7 +12,7 @@ module Telnyx
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
# Consolidated filter parameter for SIM cards (deepObject style). Originally:
|
|
15
|
-
# filter[
|
|
15
|
+
# filter[tags], filter[iccid], filter[status]
|
|
16
16
|
sig { returns(T.nilable(Telnyx::SimCardListParams::Filter)) }
|
|
17
17
|
attr_reader :filter
|
|
18
18
|
|
|
@@ -61,7 +61,7 @@ module Telnyx
|
|
|
61
61
|
end
|
|
62
62
|
def self.new(
|
|
63
63
|
# Consolidated filter parameter for SIM cards (deepObject style). Originally:
|
|
64
|
-
# filter[
|
|
64
|
+
# filter[tags], filter[iccid], filter[status]
|
|
65
65
|
filter: nil,
|
|
66
66
|
# A valid SIM card group ID.
|
|
67
67
|
filter_sim_card_group_id: nil,
|
|
@@ -105,13 +105,6 @@ module Telnyx
|
|
|
105
105
|
sig { params(iccid: String).void }
|
|
106
106
|
attr_writer :iccid
|
|
107
107
|
|
|
108
|
-
# A search string to match for the SIM card's MSISDN.
|
|
109
|
-
sig { returns(T.nilable(String)) }
|
|
110
|
-
attr_reader :msisdn
|
|
111
|
-
|
|
112
|
-
sig { params(msisdn: String).void }
|
|
113
|
-
attr_writer :msisdn
|
|
114
|
-
|
|
115
108
|
# Filter by a SIM card's status.
|
|
116
109
|
sig do
|
|
117
110
|
returns(
|
|
@@ -146,11 +139,10 @@ module Telnyx
|
|
|
146
139
|
attr_writer :tags
|
|
147
140
|
|
|
148
141
|
# Consolidated filter parameter for SIM cards (deepObject style). Originally:
|
|
149
|
-
# filter[
|
|
142
|
+
# filter[tags], filter[iccid], filter[status]
|
|
150
143
|
sig do
|
|
151
144
|
params(
|
|
152
145
|
iccid: String,
|
|
153
|
-
msisdn: String,
|
|
154
146
|
status:
|
|
155
147
|
T::Array[Telnyx::SimCardListParams::Filter::Status::OrSymbol],
|
|
156
148
|
tags: T::Array[String]
|
|
@@ -159,8 +151,6 @@ module Telnyx
|
|
|
159
151
|
def self.new(
|
|
160
152
|
# A search string to partially match for the SIM card's ICCID.
|
|
161
153
|
iccid: nil,
|
|
162
|
-
# A search string to match for the SIM card's MSISDN.
|
|
163
|
-
msisdn: nil,
|
|
164
154
|
# Filter by a SIM card's status.
|
|
165
155
|
status: nil,
|
|
166
156
|
# A list of SIM card tags to filter on.<br/><br/> If the SIM card contains
|
|
@@ -180,7 +170,6 @@ module Telnyx
|
|
|
180
170
|
override.returns(
|
|
181
171
|
{
|
|
182
172
|
iccid: String,
|
|
183
|
-
msisdn: String,
|
|
184
173
|
status:
|
|
185
174
|
T::Array[Telnyx::SimCardListParams::Filter::Status::OrSymbol],
|
|
186
175
|
tags: T::Array[String]
|
|
@@ -22,6 +22,8 @@ module Telnyx
|
|
|
22
22
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
23
23
|
inbound: Telnyx::CredentialInbound::OrHash,
|
|
24
24
|
ios_push_credential_id: T.nilable(String),
|
|
25
|
+
jitter_buffer:
|
|
26
|
+
Telnyx::CredentialConnectionCreateParams::JitterBuffer::OrHash,
|
|
25
27
|
noise_suppression:
|
|
26
28
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
27
29
|
noise_suppression_details:
|
|
@@ -75,6 +77,12 @@ module Telnyx
|
|
|
75
77
|
inbound: nil,
|
|
76
78
|
# The uuid of the push credential for Ios
|
|
77
79
|
ios_push_credential_id: nil,
|
|
80
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
81
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
82
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
83
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
84
|
+
# sensitive to jitter and reordering.
|
|
85
|
+
jitter_buffer: nil,
|
|
78
86
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
79
87
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
80
88
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -144,6 +152,8 @@ module Telnyx
|
|
|
144
152
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
145
153
|
inbound: Telnyx::CredentialInbound::OrHash,
|
|
146
154
|
ios_push_credential_id: T.nilable(String),
|
|
155
|
+
jitter_buffer:
|
|
156
|
+
Telnyx::CredentialConnectionUpdateParams::JitterBuffer::OrHash,
|
|
147
157
|
noise_suppression:
|
|
148
158
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
149
159
|
noise_suppression_details:
|
|
@@ -195,6 +205,12 @@ module Telnyx
|
|
|
195
205
|
inbound: nil,
|
|
196
206
|
# The uuid of the push credential for Ios
|
|
197
207
|
ios_push_credential_id: nil,
|
|
208
|
+
# Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
|
|
209
|
+
# of SIP Trunking calls. The feature is off unless enabled. You may define min and
|
|
210
|
+
# max values in msec for customized buffering behaviors. Larger values add latency
|
|
211
|
+
# but tolerate more jitter, while smaller values reduce latency but are more
|
|
212
|
+
# sensitive to jitter and reordering.
|
|
213
|
+
jitter_buffer: nil,
|
|
198
214
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
199
215
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
200
216
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|