telnyx 5.111.0 → 5.112.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/ai/assistant_create_params.rb +178 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +178 -9
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +123 -3
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +125 -3
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +179 -9
- data/lib/telnyx/models/ai/inference_embedding.rb +177 -9
- data/lib/telnyx/models/ai/openai_list_models_response.rb +210 -3
- data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
- data/lib/telnyx/models/ai_retrieve_models_response.rb +210 -3
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +23 -4
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +23 -4
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +491 -0
- data/lib/telnyx/models/calls/action_start_conversation_relay_response.rb +37 -0
- data/lib/telnyx/models/calls/action_stop_conversation_relay_params.rb +44 -0
- data/lib/telnyx/models/calls/action_stop_conversation_relay_response.rb +18 -0
- data/lib/telnyx/models/calls/transcription_start_request.rb +167 -5
- data/lib/telnyx/models/conferences/action_speak_params.rb +23 -4
- data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +8 -3
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +8 -3
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +10 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +8 -3
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection_create_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_create_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_delete_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +879 -3
- data/lib/telnyx/models/uac_connection_update_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_update_response.rb +878 -3
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +10 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +8 -3
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_create_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +8 -3
- data/lib/telnyx/models/wireguard_interface_list_response.rb +10 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +8 -3
- data/lib/telnyx/models.rb +0 -20
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +101 -5
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/public_internet_gateways.rb +2 -2
- data/lib/telnyx/resources/uac_connections.rb +8 -8
- data/lib/telnyx/resources/virtual_cross_connects.rb +2 -2
- data/lib/telnyx/resources/wireguard_interfaces.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +8 -22
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +352 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +352 -12
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +290 -4
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +301 -3
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +366 -12
- data/rbi/telnyx/models/ai/inference_embedding.rbi +351 -12
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +315 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +310 -3
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +1075 -0
- data/rbi/telnyx/models/calls/action_start_conversation_relay_response.rbi +95 -0
- data/rbi/telnyx/models/calls/action_stop_conversation_relay_params.rbi +72 -0
- data/rbi/telnyx/models/calls/action_stop_conversation_relay_response.rbi +39 -0
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +480 -10
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +38 -6
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +38 -6
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +23 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +38 -6
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection_create_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_update_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1756 -4
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +36 -6
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +36 -6
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +23 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +38 -6
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +36 -6
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +23 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +36 -6
- data/rbi/telnyx/models.rbi +0 -20
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -3
- data/rbi/telnyx/resources/ai/assistants.rbi +10 -6
- data/rbi/telnyx/resources/calls/actions.rbi +152 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/public_internet_gateways.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +13 -7
- data/rbi/telnyx/resources/virtual_cross_connects.rbi +1 -1
- data/rbi/telnyx/resources/wireguard_interfaces.rbi +1 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +149 -18
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +149 -18
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -6
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +109 -4
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +152 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +149 -18
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +149 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +149 -4
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +416 -0
- data/sig/telnyx/models/calls/action_start_conversation_relay_response.rbs +45 -0
- data/sig/telnyx/models/calls/action_stop_conversation_relay_params.rbs +38 -0
- data/sig/telnyx/models/calls/action_stop_conversation_relay_response.rbs +20 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +184 -2
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +18 -6
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +18 -6
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +11 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +18 -6
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection_create_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_create_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_delete_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_update_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_update_response.rbs +731 -5
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +11 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +18 -6
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +18 -6
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +11 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +18 -6
- data/sig/telnyx/models.rbs +0 -20
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/calls/actions.rbs +29 -0
- data/sig/telnyx/resources/public_internet_gateways.rbs +1 -1
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- data/sig/telnyx/resources/virtual_cross_connects.rbs +1 -1
- data/sig/telnyx/resources/wireguard_interfaces.rbs +1 -1
- metadata +26 -68
- data/lib/telnyx/models/ai/assistant_integration.rb +0 -38
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +0 -35
- data/lib/telnyx/models/ai/assistants/clause.rb +0 -54
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +0 -27
- data/lib/telnyx/models/ai/assistants/rule_input.rb +0 -40
- data/lib/telnyx/models/ai/assistants/rule_output.rb +0 -40
- data/lib/telnyx/models/ai/assistants/serve.rb +0 -33
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +0 -47
- data/lib/telnyx/models/ai/start_speaking_plan.rb +0 -37
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +0 -39
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +0 -64
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +0 -108
- data/lib/telnyx/models/model_metadata.rb +0 -212
- data/lib/telnyx/models/public_internet_gateway_read.rb +0 -83
- data/lib/telnyx/models/uac_connection.rb +0 -412
- data/lib/telnyx/models/uac_external_settings.rb +0 -101
- data/lib/telnyx/models/uac_inbound.rb +0 -210
- data/lib/telnyx/models/uac_internal_settings.rb +0 -25
- data/lib/telnyx/models/uac_outbound.rb +0 -131
- data/lib/telnyx/models/virtual_cross_connect_combined.rb +0 -212
- data/lib/telnyx/models/wireguard_interface_read.rb +0 -136
- data/lib/telnyx/models/xai_voice_settings.rb +0 -36
- data/rbi/telnyx/models/ai/assistant_integration.rbi +0 -60
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +0 -51
- data/rbi/telnyx/models/ai/assistants/clause.rbi +0 -91
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +0 -36
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/serve.rbi +0 -61
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +0 -83
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +0 -70
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +0 -71
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +0 -155
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +0 -329
- data/rbi/telnyx/models/model_metadata.rbi +0 -272
- data/rbi/telnyx/models/public_internet_gateway_read.rbi +0 -128
- data/rbi/telnyx/models/uac_connection.rbi +0 -684
- data/rbi/telnyx/models/uac_external_settings.rbi +0 -146
- data/rbi/telnyx/models/uac_inbound.rbi +0 -410
- data/rbi/telnyx/models/uac_internal_settings.rbi +0 -39
- data/rbi/telnyx/models/uac_outbound.rbi +0 -224
- data/rbi/telnyx/models/virtual_cross_connect_combined.rbi +0 -345
- data/rbi/telnyx/models/wireguard_interface_read.rbi +0 -213
- data/rbi/telnyx/models/xai_voice_settings.rbi +0 -64
- data/sig/telnyx/models/ai/assistant_integration.rbs +0 -26
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/clause.rbs +0 -46
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/serve.rbs +0 -35
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +0 -40
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +0 -33
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +0 -38
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +0 -62
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +0 -130
- data/sig/telnyx/models/model_metadata.rbs +0 -142
- data/sig/telnyx/models/public_internet_gateway_read.rbs +0 -80
- data/sig/telnyx/models/uac_connection.rbs +0 -338
- data/sig/telnyx/models/uac_external_settings.rbs +0 -73
- data/sig/telnyx/models/uac_inbound.rbs +0 -190
- data/sig/telnyx/models/uac_internal_settings.rbs +0 -15
- data/sig/telnyx/models/uac_outbound.rbs +0 -113
- data/sig/telnyx/models/virtual_cross_connect_combined.rbs +0 -190
- data/sig/telnyx/models/wireguard_interface_read.rbs +0 -127
- data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
|
@@ -82,11 +82,18 @@ module Telnyx
|
|
|
82
82
|
|
|
83
83
|
# External SIP peer settings used by Telnyx when registering to your PBX and
|
|
84
84
|
# routing outbound calls.
|
|
85
|
-
sig
|
|
85
|
+
sig do
|
|
86
|
+
returns(
|
|
87
|
+
T.nilable(Telnyx::UacConnectionUpdateParams::ExternalUacSettings)
|
|
88
|
+
)
|
|
89
|
+
end
|
|
86
90
|
attr_reader :external_uac_settings
|
|
87
91
|
|
|
88
92
|
sig do
|
|
89
|
-
params(
|
|
93
|
+
params(
|
|
94
|
+
external_uac_settings:
|
|
95
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::OrHash
|
|
96
|
+
).void
|
|
90
97
|
end
|
|
91
98
|
attr_writer :external_uac_settings
|
|
92
99
|
|
|
@@ -102,11 +109,18 @@ module Telnyx
|
|
|
102
109
|
attr_writer :inbound
|
|
103
110
|
|
|
104
111
|
# Internal Telnyx-side settings for a UAC connection.
|
|
105
|
-
sig
|
|
112
|
+
sig do
|
|
113
|
+
returns(
|
|
114
|
+
T.nilable(Telnyx::UacConnectionUpdateParams::InternalUacSettings)
|
|
115
|
+
)
|
|
116
|
+
end
|
|
106
117
|
attr_reader :internal_uac_settings
|
|
107
118
|
|
|
108
119
|
sig do
|
|
109
|
-
params(
|
|
120
|
+
params(
|
|
121
|
+
internal_uac_settings:
|
|
122
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings::OrHash
|
|
123
|
+
).void
|
|
110
124
|
end
|
|
111
125
|
attr_writer :internal_uac_settings
|
|
112
126
|
|
|
@@ -170,10 +184,14 @@ module Telnyx
|
|
|
170
184
|
sig { params(onnet_t38_passthrough_enabled: T::Boolean).void }
|
|
171
185
|
attr_writer :onnet_t38_passthrough_enabled
|
|
172
186
|
|
|
173
|
-
sig { returns(T.nilable(Telnyx::
|
|
187
|
+
sig { returns(T.nilable(Telnyx::UacConnectionUpdateParams::Outbound)) }
|
|
174
188
|
attr_reader :outbound
|
|
175
189
|
|
|
176
|
-
sig
|
|
190
|
+
sig do
|
|
191
|
+
params(
|
|
192
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound::OrHash
|
|
193
|
+
).void
|
|
194
|
+
end
|
|
177
195
|
attr_writer :outbound
|
|
178
196
|
|
|
179
197
|
# The password to be used as part of the credentials. Must be 8 to 128 characters
|
|
@@ -274,9 +292,11 @@ module Telnyx
|
|
|
274
292
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
275
293
|
encode_contact_header_enabled: T::Boolean,
|
|
276
294
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
277
|
-
external_uac_settings:
|
|
295
|
+
external_uac_settings:
|
|
296
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::OrHash,
|
|
278
297
|
inbound: Telnyx::UacConnectionUpdateParams::Inbound::OrHash,
|
|
279
|
-
internal_uac_settings:
|
|
298
|
+
internal_uac_settings:
|
|
299
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings::OrHash,
|
|
280
300
|
ios_push_credential_id: T.nilable(String),
|
|
281
301
|
jitter_buffer: Telnyx::ConnectionJitterBuffer::OrHash,
|
|
282
302
|
noise_suppression:
|
|
@@ -284,7 +304,7 @@ module Telnyx
|
|
|
284
304
|
noise_suppression_details:
|
|
285
305
|
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
286
306
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
287
|
-
outbound: Telnyx::
|
|
307
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound::OrHash,
|
|
288
308
|
password: String,
|
|
289
309
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
290
310
|
sip_uri_calling_preference:
|
|
@@ -400,9 +420,11 @@ module Telnyx
|
|
|
400
420
|
dtmf_type: Telnyx::DtmfType::OrSymbol,
|
|
401
421
|
encode_contact_header_enabled: T::Boolean,
|
|
402
422
|
encrypted_media: T.nilable(Telnyx::EncryptedMedia::OrSymbol),
|
|
403
|
-
external_uac_settings:
|
|
423
|
+
external_uac_settings:
|
|
424
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
404
425
|
inbound: Telnyx::UacConnectionUpdateParams::Inbound,
|
|
405
|
-
internal_uac_settings:
|
|
426
|
+
internal_uac_settings:
|
|
427
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
406
428
|
ios_push_credential_id: T.nilable(String),
|
|
407
429
|
jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
408
430
|
noise_suppression:
|
|
@@ -410,7 +432,7 @@ module Telnyx
|
|
|
410
432
|
noise_suppression_details:
|
|
411
433
|
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
412
434
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
413
|
-
outbound: Telnyx::
|
|
435
|
+
outbound: Telnyx::UacConnectionUpdateParams::Outbound,
|
|
414
436
|
password: String,
|
|
415
437
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
416
438
|
sip_uri_calling_preference:
|
|
@@ -429,6 +451,177 @@ module Telnyx
|
|
|
429
451
|
def to_hash
|
|
430
452
|
end
|
|
431
453
|
|
|
454
|
+
class ExternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
455
|
+
OrHash =
|
|
456
|
+
T.type_alias do
|
|
457
|
+
T.any(
|
|
458
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
459
|
+
Telnyx::Internal::AnyHash
|
|
460
|
+
)
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# The authentication username used in SIP digest authentication. If not set, the
|
|
464
|
+
# Username value will be used.
|
|
465
|
+
sig { returns(T.nilable(String)) }
|
|
466
|
+
attr_accessor :auth_username
|
|
467
|
+
|
|
468
|
+
# The registration interval, in seconds, indicating how often the system refreshes
|
|
469
|
+
# the SIP registration with the external SIP peer.
|
|
470
|
+
sig { returns(T.nilable(Integer)) }
|
|
471
|
+
attr_accessor :expiration_sec
|
|
472
|
+
|
|
473
|
+
# The user portion of the SIP From header used in outbound requests. This controls
|
|
474
|
+
# the caller identity presented to the external SIP peer.
|
|
475
|
+
sig { returns(T.nilable(String)) }
|
|
476
|
+
attr_accessor :from_user
|
|
477
|
+
|
|
478
|
+
# An optional SIP proxy used to route outbound requests before reaching the
|
|
479
|
+
# external SIP peer.
|
|
480
|
+
sig { returns(T.nilable(String)) }
|
|
481
|
+
attr_accessor :outbound_proxy
|
|
482
|
+
|
|
483
|
+
# The SIP password used for digest authentication with the external SIP peer.
|
|
484
|
+
sig { returns(T.nilable(String)) }
|
|
485
|
+
attr_reader :password
|
|
486
|
+
|
|
487
|
+
sig { params(password: String).void }
|
|
488
|
+
attr_writer :password
|
|
489
|
+
|
|
490
|
+
# The SIP proxy address of the external SIP peer used for registrations and
|
|
491
|
+
# outbound call routing.
|
|
492
|
+
sig { returns(T.nilable(String)) }
|
|
493
|
+
attr_reader :proxy
|
|
494
|
+
|
|
495
|
+
sig { params(proxy: String).void }
|
|
496
|
+
attr_writer :proxy
|
|
497
|
+
|
|
498
|
+
# The transport protocol used for SIP signaling when communicating with the
|
|
499
|
+
# external SIP peer. One of UDP, TLS, or TCP.
|
|
500
|
+
sig do
|
|
501
|
+
returns(
|
|
502
|
+
T.nilable(
|
|
503
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::OrSymbol
|
|
504
|
+
)
|
|
505
|
+
)
|
|
506
|
+
end
|
|
507
|
+
attr_accessor :transport
|
|
508
|
+
|
|
509
|
+
# The SIP username used to authenticate with the external SIP peer for
|
|
510
|
+
# registrations and outbound calls. Must start with a letter or number and contain
|
|
511
|
+
# only letters, numbers, hyphens, and underscores.
|
|
512
|
+
sig { returns(T.nilable(String)) }
|
|
513
|
+
attr_reader :username
|
|
514
|
+
|
|
515
|
+
sig { params(username: String).void }
|
|
516
|
+
attr_writer :username
|
|
517
|
+
|
|
518
|
+
# External SIP peer settings used by Telnyx when registering to your PBX and
|
|
519
|
+
# routing outbound calls.
|
|
520
|
+
sig do
|
|
521
|
+
params(
|
|
522
|
+
auth_username: T.nilable(String),
|
|
523
|
+
expiration_sec: T.nilable(Integer),
|
|
524
|
+
from_user: T.nilable(String),
|
|
525
|
+
outbound_proxy: T.nilable(String),
|
|
526
|
+
password: String,
|
|
527
|
+
proxy: String,
|
|
528
|
+
transport:
|
|
529
|
+
T.nilable(
|
|
530
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::OrSymbol
|
|
531
|
+
),
|
|
532
|
+
username: String
|
|
533
|
+
).returns(T.attached_class)
|
|
534
|
+
end
|
|
535
|
+
def self.new(
|
|
536
|
+
# The authentication username used in SIP digest authentication. If not set, the
|
|
537
|
+
# Username value will be used.
|
|
538
|
+
auth_username: nil,
|
|
539
|
+
# The registration interval, in seconds, indicating how often the system refreshes
|
|
540
|
+
# the SIP registration with the external SIP peer.
|
|
541
|
+
expiration_sec: nil,
|
|
542
|
+
# The user portion of the SIP From header used in outbound requests. This controls
|
|
543
|
+
# the caller identity presented to the external SIP peer.
|
|
544
|
+
from_user: nil,
|
|
545
|
+
# An optional SIP proxy used to route outbound requests before reaching the
|
|
546
|
+
# external SIP peer.
|
|
547
|
+
outbound_proxy: nil,
|
|
548
|
+
# The SIP password used for digest authentication with the external SIP peer.
|
|
549
|
+
password: nil,
|
|
550
|
+
# The SIP proxy address of the external SIP peer used for registrations and
|
|
551
|
+
# outbound call routing.
|
|
552
|
+
proxy: nil,
|
|
553
|
+
# The transport protocol used for SIP signaling when communicating with the
|
|
554
|
+
# external SIP peer. One of UDP, TLS, or TCP.
|
|
555
|
+
transport: nil,
|
|
556
|
+
# The SIP username used to authenticate with the external SIP peer for
|
|
557
|
+
# registrations and outbound calls. Must start with a letter or number and contain
|
|
558
|
+
# only letters, numbers, hyphens, and underscores.
|
|
559
|
+
username: nil
|
|
560
|
+
)
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
sig do
|
|
564
|
+
override.returns(
|
|
565
|
+
{
|
|
566
|
+
auth_username: T.nilable(String),
|
|
567
|
+
expiration_sec: T.nilable(Integer),
|
|
568
|
+
from_user: T.nilable(String),
|
|
569
|
+
outbound_proxy: T.nilable(String),
|
|
570
|
+
password: String,
|
|
571
|
+
proxy: String,
|
|
572
|
+
transport:
|
|
573
|
+
T.nilable(
|
|
574
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::OrSymbol
|
|
575
|
+
),
|
|
576
|
+
username: String
|
|
577
|
+
}
|
|
578
|
+
)
|
|
579
|
+
end
|
|
580
|
+
def to_hash
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
# The transport protocol used for SIP signaling when communicating with the
|
|
584
|
+
# external SIP peer. One of UDP, TLS, or TCP.
|
|
585
|
+
module Transport
|
|
586
|
+
extend Telnyx::Internal::Type::Enum
|
|
587
|
+
|
|
588
|
+
TaggedSymbol =
|
|
589
|
+
T.type_alias do
|
|
590
|
+
T.all(
|
|
591
|
+
Symbol,
|
|
592
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport
|
|
593
|
+
)
|
|
594
|
+
end
|
|
595
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
596
|
+
|
|
597
|
+
UDP =
|
|
598
|
+
T.let(
|
|
599
|
+
:UDP,
|
|
600
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::TaggedSymbol
|
|
601
|
+
)
|
|
602
|
+
TLS =
|
|
603
|
+
T.let(
|
|
604
|
+
:TLS,
|
|
605
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::TaggedSymbol
|
|
606
|
+
)
|
|
607
|
+
TCP =
|
|
608
|
+
T.let(
|
|
609
|
+
:TCP,
|
|
610
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::TaggedSymbol
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
sig do
|
|
614
|
+
override.returns(
|
|
615
|
+
T::Array[
|
|
616
|
+
Telnyx::UacConnectionUpdateParams::ExternalUacSettings::Transport::TaggedSymbol
|
|
617
|
+
]
|
|
618
|
+
)
|
|
619
|
+
end
|
|
620
|
+
def self.values
|
|
621
|
+
end
|
|
622
|
+
end
|
|
623
|
+
end
|
|
624
|
+
|
|
432
625
|
class Inbound < Telnyx::Internal::Type::BaseModel
|
|
433
626
|
OrHash =
|
|
434
627
|
T.type_alias do
|
|
@@ -834,6 +1027,43 @@ module Telnyx
|
|
|
834
1027
|
end
|
|
835
1028
|
end
|
|
836
1029
|
|
|
1030
|
+
class InternalUacSettings < Telnyx::Internal::Type::BaseModel
|
|
1031
|
+
OrHash =
|
|
1032
|
+
T.type_alias do
|
|
1033
|
+
T.any(
|
|
1034
|
+
Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
1035
|
+
Telnyx::Internal::AnyHash
|
|
1036
|
+
)
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
# The SIP URI that Telnyx will call when handling an inbound request from the
|
|
1040
|
+
# external peer. Do not include a `sip:` prefix. The value must be in the format
|
|
1041
|
+
# `userinfo@<subdomain.>sip.telnyx.com` or
|
|
1042
|
+
# `userinfo@<subdomain.>sipdev.telnyx.com`; the userinfo portion may contain only
|
|
1043
|
+
# letters, digits, hyphens, and underscores.
|
|
1044
|
+
sig { returns(T.nilable(String)) }
|
|
1045
|
+
attr_reader :destination_uri
|
|
1046
|
+
|
|
1047
|
+
sig { params(destination_uri: String).void }
|
|
1048
|
+
attr_writer :destination_uri
|
|
1049
|
+
|
|
1050
|
+
# Internal Telnyx-side settings for a UAC connection.
|
|
1051
|
+
sig { params(destination_uri: String).returns(T.attached_class) }
|
|
1052
|
+
def self.new(
|
|
1053
|
+
# The SIP URI that Telnyx will call when handling an inbound request from the
|
|
1054
|
+
# external peer. Do not include a `sip:` prefix. The value must be in the format
|
|
1055
|
+
# `userinfo@<subdomain.>sip.telnyx.com` or
|
|
1056
|
+
# `userinfo@<subdomain.>sipdev.telnyx.com`; the userinfo portion may contain only
|
|
1057
|
+
# letters, digits, hyphens, and underscores.
|
|
1058
|
+
destination_uri: nil
|
|
1059
|
+
)
|
|
1060
|
+
end
|
|
1061
|
+
|
|
1062
|
+
sig { override.returns({ destination_uri: String }) }
|
|
1063
|
+
def to_hash
|
|
1064
|
+
end
|
|
1065
|
+
end
|
|
1066
|
+
|
|
837
1067
|
# Controls when noise suppression is applied to calls. When set to 'inbound',
|
|
838
1068
|
# noise suppression is applied to incoming audio. When set to 'outbound', it's
|
|
839
1069
|
# applied to outgoing audio. When set to 'both', it's applied in both directions.
|
|
@@ -879,6 +1109,280 @@ module Telnyx
|
|
|
879
1109
|
end
|
|
880
1110
|
end
|
|
881
1111
|
|
|
1112
|
+
class Outbound < Telnyx::Internal::Type::BaseModel
|
|
1113
|
+
OrHash =
|
|
1114
|
+
T.type_alias do
|
|
1115
|
+
T.any(
|
|
1116
|
+
Telnyx::UacConnectionUpdateParams::Outbound,
|
|
1117
|
+
Telnyx::Internal::AnyHash
|
|
1118
|
+
)
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
# Set a phone number as the ani_override value to override caller id number on
|
|
1122
|
+
# outbound calls.
|
|
1123
|
+
sig { returns(T.nilable(String)) }
|
|
1124
|
+
attr_reader :ani_override
|
|
1125
|
+
|
|
1126
|
+
sig { params(ani_override: String).void }
|
|
1127
|
+
attr_writer :ani_override
|
|
1128
|
+
|
|
1129
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
1130
|
+
# ani_override is not blank.
|
|
1131
|
+
sig do
|
|
1132
|
+
returns(
|
|
1133
|
+
T.nilable(
|
|
1134
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::OrSymbol
|
|
1135
|
+
)
|
|
1136
|
+
)
|
|
1137
|
+
end
|
|
1138
|
+
attr_reader :ani_override_type
|
|
1139
|
+
|
|
1140
|
+
sig do
|
|
1141
|
+
params(
|
|
1142
|
+
ani_override_type:
|
|
1143
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::OrSymbol
|
|
1144
|
+
).void
|
|
1145
|
+
end
|
|
1146
|
+
attr_writer :ani_override_type
|
|
1147
|
+
|
|
1148
|
+
# Forces all SIP calls originated on this connection to be "parked" instead of
|
|
1149
|
+
# "bridged" to the destination specified on the URI. Parked calls will return
|
|
1150
|
+
# ringback to the caller and will await for a Call Control command to define which
|
|
1151
|
+
# action will be taken next.
|
|
1152
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
1153
|
+
attr_accessor :call_parking_enabled
|
|
1154
|
+
|
|
1155
|
+
# When set, this will limit the total number of outbound calls to phone numbers
|
|
1156
|
+
# associated with this connection.
|
|
1157
|
+
sig { returns(T.nilable(Integer)) }
|
|
1158
|
+
attr_reader :channel_limit
|
|
1159
|
+
|
|
1160
|
+
sig { params(channel_limit: Integer).void }
|
|
1161
|
+
attr_writer :channel_limit
|
|
1162
|
+
|
|
1163
|
+
# Generate ringback tone through 183 session progress message with early media.
|
|
1164
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
1165
|
+
attr_reader :generate_ringback_tone
|
|
1166
|
+
|
|
1167
|
+
sig { params(generate_ringback_tone: T::Boolean).void }
|
|
1168
|
+
attr_writer :generate_ringback_tone
|
|
1169
|
+
|
|
1170
|
+
# When set, ringback will not wait for indication before sending ringback tone to
|
|
1171
|
+
# calling party.
|
|
1172
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
1173
|
+
attr_reader :instant_ringback_enabled
|
|
1174
|
+
|
|
1175
|
+
sig { params(instant_ringback_enabled: T::Boolean).void }
|
|
1176
|
+
attr_writer :instant_ringback_enabled
|
|
1177
|
+
|
|
1178
|
+
# A 2-character country code specifying the country whose national dialing rules
|
|
1179
|
+
# should be used. For example, if set to `US` then any US number can be dialed
|
|
1180
|
+
# without preprending +1 to the number. When left blank, Telnyx will try US and GB
|
|
1181
|
+
# dialing rules, in that order, by default.
|
|
1182
|
+
sig { returns(T.nilable(String)) }
|
|
1183
|
+
attr_reader :localization
|
|
1184
|
+
|
|
1185
|
+
sig { params(localization: String).void }
|
|
1186
|
+
attr_writer :localization
|
|
1187
|
+
|
|
1188
|
+
# Identifies the associated outbound voice profile.
|
|
1189
|
+
sig { returns(T.nilable(String)) }
|
|
1190
|
+
attr_reader :outbound_voice_profile_id
|
|
1191
|
+
|
|
1192
|
+
sig { params(outbound_voice_profile_id: String).void }
|
|
1193
|
+
attr_writer :outbound_voice_profile_id
|
|
1194
|
+
|
|
1195
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
1196
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
1197
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
1198
|
+
# expected to send the t.38 reinvite.
|
|
1199
|
+
sig do
|
|
1200
|
+
returns(
|
|
1201
|
+
T.nilable(
|
|
1202
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::OrSymbol
|
|
1203
|
+
)
|
|
1204
|
+
)
|
|
1205
|
+
end
|
|
1206
|
+
attr_reader :t38_reinvite_source
|
|
1207
|
+
|
|
1208
|
+
sig do
|
|
1209
|
+
params(
|
|
1210
|
+
t38_reinvite_source:
|
|
1211
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::OrSymbol
|
|
1212
|
+
).void
|
|
1213
|
+
end
|
|
1214
|
+
attr_writer :t38_reinvite_source
|
|
1215
|
+
|
|
1216
|
+
sig do
|
|
1217
|
+
params(
|
|
1218
|
+
ani_override: String,
|
|
1219
|
+
ani_override_type:
|
|
1220
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::OrSymbol,
|
|
1221
|
+
call_parking_enabled: T.nilable(T::Boolean),
|
|
1222
|
+
channel_limit: Integer,
|
|
1223
|
+
generate_ringback_tone: T::Boolean,
|
|
1224
|
+
instant_ringback_enabled: T::Boolean,
|
|
1225
|
+
localization: String,
|
|
1226
|
+
outbound_voice_profile_id: String,
|
|
1227
|
+
t38_reinvite_source:
|
|
1228
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::OrSymbol
|
|
1229
|
+
).returns(T.attached_class)
|
|
1230
|
+
end
|
|
1231
|
+
def self.new(
|
|
1232
|
+
# Set a phone number as the ani_override value to override caller id number on
|
|
1233
|
+
# outbound calls.
|
|
1234
|
+
ani_override: nil,
|
|
1235
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
1236
|
+
# ani_override is not blank.
|
|
1237
|
+
ani_override_type: nil,
|
|
1238
|
+
# Forces all SIP calls originated on this connection to be "parked" instead of
|
|
1239
|
+
# "bridged" to the destination specified on the URI. Parked calls will return
|
|
1240
|
+
# ringback to the caller and will await for a Call Control command to define which
|
|
1241
|
+
# action will be taken next.
|
|
1242
|
+
call_parking_enabled: nil,
|
|
1243
|
+
# When set, this will limit the total number of outbound calls to phone numbers
|
|
1244
|
+
# associated with this connection.
|
|
1245
|
+
channel_limit: nil,
|
|
1246
|
+
# Generate ringback tone through 183 session progress message with early media.
|
|
1247
|
+
generate_ringback_tone: nil,
|
|
1248
|
+
# When set, ringback will not wait for indication before sending ringback tone to
|
|
1249
|
+
# calling party.
|
|
1250
|
+
instant_ringback_enabled: nil,
|
|
1251
|
+
# A 2-character country code specifying the country whose national dialing rules
|
|
1252
|
+
# should be used. For example, if set to `US` then any US number can be dialed
|
|
1253
|
+
# without preprending +1 to the number. When left blank, Telnyx will try US and GB
|
|
1254
|
+
# dialing rules, in that order, by default.
|
|
1255
|
+
localization: nil,
|
|
1256
|
+
# Identifies the associated outbound voice profile.
|
|
1257
|
+
outbound_voice_profile_id: nil,
|
|
1258
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
1259
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
1260
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
1261
|
+
# expected to send the t.38 reinvite.
|
|
1262
|
+
t38_reinvite_source: nil
|
|
1263
|
+
)
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
sig do
|
|
1267
|
+
override.returns(
|
|
1268
|
+
{
|
|
1269
|
+
ani_override: String,
|
|
1270
|
+
ani_override_type:
|
|
1271
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::OrSymbol,
|
|
1272
|
+
call_parking_enabled: T.nilable(T::Boolean),
|
|
1273
|
+
channel_limit: Integer,
|
|
1274
|
+
generate_ringback_tone: T::Boolean,
|
|
1275
|
+
instant_ringback_enabled: T::Boolean,
|
|
1276
|
+
localization: String,
|
|
1277
|
+
outbound_voice_profile_id: String,
|
|
1278
|
+
t38_reinvite_source:
|
|
1279
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::OrSymbol
|
|
1280
|
+
}
|
|
1281
|
+
)
|
|
1282
|
+
end
|
|
1283
|
+
def to_hash
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
# Specifies when we apply your ani_override setting. Only applies when
|
|
1287
|
+
# ani_override is not blank.
|
|
1288
|
+
module AniOverrideType
|
|
1289
|
+
extend Telnyx::Internal::Type::Enum
|
|
1290
|
+
|
|
1291
|
+
TaggedSymbol =
|
|
1292
|
+
T.type_alias do
|
|
1293
|
+
T.all(
|
|
1294
|
+
Symbol,
|
|
1295
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType
|
|
1296
|
+
)
|
|
1297
|
+
end
|
|
1298
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1299
|
+
|
|
1300
|
+
ALWAYS =
|
|
1301
|
+
T.let(
|
|
1302
|
+
:always,
|
|
1303
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::TaggedSymbol
|
|
1304
|
+
)
|
|
1305
|
+
NORMAL =
|
|
1306
|
+
T.let(
|
|
1307
|
+
:normal,
|
|
1308
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::TaggedSymbol
|
|
1309
|
+
)
|
|
1310
|
+
EMERGENCY =
|
|
1311
|
+
T.let(
|
|
1312
|
+
:emergency,
|
|
1313
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::TaggedSymbol
|
|
1314
|
+
)
|
|
1315
|
+
|
|
1316
|
+
sig do
|
|
1317
|
+
override.returns(
|
|
1318
|
+
T::Array[
|
|
1319
|
+
Telnyx::UacConnectionUpdateParams::Outbound::AniOverrideType::TaggedSymbol
|
|
1320
|
+
]
|
|
1321
|
+
)
|
|
1322
|
+
end
|
|
1323
|
+
def self.values
|
|
1324
|
+
end
|
|
1325
|
+
end
|
|
1326
|
+
|
|
1327
|
+
# This setting only affects connections with Fax-type Outbound Voice Profiles. The
|
|
1328
|
+
# setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
|
|
1329
|
+
# default, Telnyx will send the re-invite. If set to `customer`, the caller is
|
|
1330
|
+
# expected to send the t.38 reinvite.
|
|
1331
|
+
module T38ReinviteSource
|
|
1332
|
+
extend Telnyx::Internal::Type::Enum
|
|
1333
|
+
|
|
1334
|
+
TaggedSymbol =
|
|
1335
|
+
T.type_alias do
|
|
1336
|
+
T.all(
|
|
1337
|
+
Symbol,
|
|
1338
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource
|
|
1339
|
+
)
|
|
1340
|
+
end
|
|
1341
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1342
|
+
|
|
1343
|
+
TELNYX =
|
|
1344
|
+
T.let(
|
|
1345
|
+
:telnyx,
|
|
1346
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1347
|
+
)
|
|
1348
|
+
CUSTOMER =
|
|
1349
|
+
T.let(
|
|
1350
|
+
:customer,
|
|
1351
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1352
|
+
)
|
|
1353
|
+
DISABLED =
|
|
1354
|
+
T.let(
|
|
1355
|
+
:disabled,
|
|
1356
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1357
|
+
)
|
|
1358
|
+
PASSTHRU =
|
|
1359
|
+
T.let(
|
|
1360
|
+
:passthru,
|
|
1361
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1362
|
+
)
|
|
1363
|
+
CALLER_PASSTHRU =
|
|
1364
|
+
T.let(
|
|
1365
|
+
:"caller-passthru",
|
|
1366
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1367
|
+
)
|
|
1368
|
+
CALLEE_PASSTHRU =
|
|
1369
|
+
T.let(
|
|
1370
|
+
:"callee-passthru",
|
|
1371
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1372
|
+
)
|
|
1373
|
+
|
|
1374
|
+
sig do
|
|
1375
|
+
override.returns(
|
|
1376
|
+
T::Array[
|
|
1377
|
+
Telnyx::UacConnectionUpdateParams::Outbound::T38ReinviteSource::TaggedSymbol
|
|
1378
|
+
]
|
|
1379
|
+
)
|
|
1380
|
+
end
|
|
1381
|
+
def self.values
|
|
1382
|
+
end
|
|
1383
|
+
end
|
|
1384
|
+
end
|
|
1385
|
+
|
|
882
1386
|
# This feature enables inbound SIP URI calls to your Credential Auth Connection.
|
|
883
1387
|
# If enabled for all (unrestricted) then anyone who calls the SIP URI
|
|
884
1388
|
# <your-username>@telnyx.com will be connected to your Connection. You can also
|