telnyx 5.99.0 → 5.100.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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +5 -0
  5. data/lib/telnyx/models/ai/assistants/canary_deploy.rb +128 -7
  6. data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +131 -7
  7. data/lib/telnyx/models/uac_connection_create_params.rb +738 -0
  8. data/lib/telnyx/models/uac_connection_create_response.rb +898 -0
  9. data/lib/telnyx/models/uac_connection_delete_params.rb +20 -0
  10. data/lib/telnyx/models/uac_connection_delete_response.rb +898 -0
  11. data/lib/telnyx/models/uac_connection_list_params.rb +143 -0
  12. data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
  13. data/lib/telnyx/models/uac_connection_retrieve_params.rb +20 -0
  14. data/lib/telnyx/models/uac_connection_retrieve_response.rb +899 -0
  15. data/lib/telnyx/models/uac_connection_update_params.rb +740 -0
  16. data/lib/telnyx/models/uac_connection_update_response.rb +898 -0
  17. data/lib/telnyx/models/uac_connections/action_check_registration_status_params.rb +22 -0
  18. data/lib/telnyx/models/uac_connections/action_check_registration_status_response.rb +104 -0
  19. data/lib/telnyx/models.rb +12 -0
  20. data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +6 -10
  21. data/lib/telnyx/resources/uac_connections/actions.rb +39 -0
  22. data/lib/telnyx/resources/uac_connections.rb +256 -0
  23. data/lib/telnyx/version.rb +1 -1
  24. data/lib/telnyx.rb +14 -1
  25. data/rbi/telnyx/client.rbi +4 -0
  26. data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +303 -10
  27. data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +309 -9
  28. data/rbi/telnyx/models/uac_connection_create_params.rbi +1465 -0
  29. data/rbi/telnyx/models/uac_connection_create_response.rbi +1793 -0
  30. data/rbi/telnyx/models/uac_connection_delete_params.rbi +35 -0
  31. data/rbi/telnyx/models/uac_connection_delete_response.rbi +1793 -0
  32. data/rbi/telnyx/models/uac_connection_list_params.rbi +261 -0
  33. data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
  34. data/rbi/telnyx/models/uac_connection_retrieve_params.rbi +35 -0
  35. data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1793 -0
  36. data/rbi/telnyx/models/uac_connection_update_params.rbi +1463 -0
  37. data/rbi/telnyx/models/uac_connection_update_response.rbi +1793 -0
  38. data/rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi +40 -0
  39. data/rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi +237 -0
  40. data/rbi/telnyx/models.rbi +12 -0
  41. data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +6 -14
  42. data/rbi/telnyx/resources/uac_connections/actions.rbi +33 -0
  43. data/rbi/telnyx/resources/uac_connections.rbi +348 -0
  44. data/sig/telnyx/client.rbs +2 -0
  45. data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -4
  46. data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +113 -8
  47. data/sig/telnyx/models/uac_connection_create_params.rbs +609 -0
  48. data/sig/telnyx/models/uac_connection_create_response.rbs +741 -0
  49. data/sig/telnyx/models/uac_connection_delete_params.rbs +20 -0
  50. data/sig/telnyx/models/uac_connection_delete_response.rbs +741 -0
  51. data/sig/telnyx/models/uac_connection_list_params.rbs +112 -0
  52. data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
  53. data/sig/telnyx/models/uac_connection_retrieve_params.rbs +20 -0
  54. data/sig/telnyx/models/uac_connection_retrieve_response.rbs +741 -0
  55. data/sig/telnyx/models/uac_connection_update_params.rbs +615 -0
  56. data/sig/telnyx/models/uac_connection_update_response.rbs +741 -0
  57. data/sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs +22 -0
  58. data/sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs +117 -0
  59. data/sig/telnyx/models.rbs +12 -0
  60. data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
  61. data/sig/telnyx/resources/uac_connections/actions.rbs +14 -0
  62. data/sig/telnyx/resources/uac_connections.rbs +90 -0
  63. metadata +44 -5
  64. data/lib/telnyx/models/ai/assistants/version_config.rb +0 -30
  65. data/rbi/telnyx/models/ai/assistants/version_config.rbi +0 -45
  66. data/sig/telnyx/models/ai/assistants/version_config.rbs +0 -19
@@ -0,0 +1,898 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ # @see Telnyx::Resources::UacConnections#create
6
+ class UacConnectionCreateResponse < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute data
8
+ # A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite
9
+ # of a standard SIP trunk, where the PBX registers to Telnyx. Use UAC when your
10
+ # PBX doesn’t support outbound SIP registration or you need Telnyx to maintain the
11
+ # registration.
12
+ #
13
+ # @return [Telnyx::Models::UacConnectionCreateResponse::Data, nil]
14
+ optional :data, -> { Telnyx::Models::UacConnectionCreateResponse::Data }
15
+
16
+ # @!method initialize(data: nil)
17
+ # Some parameter documentations has been truncated, see
18
+ # {Telnyx::Models::UacConnectionCreateResponse} for more details.
19
+ #
20
+ # @param data [Telnyx::Models::UacConnectionCreateResponse::Data] A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite
21
+
22
+ # @see Telnyx::Models::UacConnectionCreateResponse#data
23
+ class Data < Telnyx::Internal::Type::BaseModel
24
+ # @!attribute id
25
+ # Identifies the type of resource.
26
+ #
27
+ # @return [String, nil]
28
+ optional :id, String
29
+
30
+ # @!attribute active
31
+ # Defaults to true
32
+ #
33
+ # @return [Boolean, nil]
34
+ optional :active, Telnyx::Internal::Type::Boolean
35
+
36
+ # @!attribute anchorsite_override
37
+ # `Latency` directs Telnyx to route media through the site with the lowest
38
+ # round-trip time to the user's connection. Telnyx calculates this time using ICMP
39
+ # ping messages. This can be disabled by specifying a site to handle all media.
40
+ #
41
+ # @return [Symbol, Telnyx::Models::AnchorsiteOverride, nil]
42
+ optional :anchorsite_override, enum: -> { Telnyx::AnchorsiteOverride }
43
+
44
+ # @!attribute android_push_credential_id
45
+ # The uuid of the push credential for Android
46
+ #
47
+ # @return [String, nil]
48
+ optional :android_push_credential_id, String, nil?: true
49
+
50
+ # @!attribute authentication
51
+ # The authentication strategy used by this connection.
52
+ #
53
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Authentication, nil]
54
+ optional :authentication, enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Authentication }
55
+
56
+ # @!attribute call_cost_in_webhooks
57
+ # Specifies if call cost webhooks should be sent for this connection.
58
+ #
59
+ # @return [Boolean, nil]
60
+ optional :call_cost_in_webhooks, Telnyx::Internal::Type::Boolean
61
+
62
+ # @!attribute connection_name
63
+ #
64
+ # @return [String, nil]
65
+ optional :connection_name, String
66
+
67
+ # @!attribute created_at
68
+ # ISO-8601 formatted date indicating when the resource was created.
69
+ #
70
+ # @return [String, nil]
71
+ optional :created_at, String
72
+
73
+ # @!attribute default_on_hold_comfort_noise_enabled
74
+ # When enabled, Telnyx will generate comfort noise when you place the call on
75
+ # hold. If disabled, you will need to generate comfort noise or on hold music to
76
+ # avoid RTP timeout.
77
+ #
78
+ # @return [Boolean, nil]
79
+ optional :default_on_hold_comfort_noise_enabled, Telnyx::Internal::Type::Boolean
80
+
81
+ # @!attribute dtmf_type
82
+ # Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
83
+ # digits sent to Telnyx will be accepted in all formats.
84
+ #
85
+ # @return [Symbol, Telnyx::Models::DtmfType, nil]
86
+ optional :dtmf_type, enum: -> { Telnyx::DtmfType }
87
+
88
+ # @!attribute encode_contact_header_enabled
89
+ # Encode the SIP contact header sent by Telnyx to avoid issues for NAT or ALG
90
+ # scenarios.
91
+ #
92
+ # @return [Boolean, nil]
93
+ optional :encode_contact_header_enabled, Telnyx::Internal::Type::Boolean
94
+
95
+ # @!attribute encrypted_media
96
+ # Enable use of SRTP for encryption. Cannot be set if the transport_portocol is
97
+ # TLS.
98
+ #
99
+ # @return [Symbol, Telnyx::Models::EncryptedMedia, nil]
100
+ optional :encrypted_media, enum: -> { Telnyx::EncryptedMedia }, nil?: true
101
+
102
+ # @!attribute external_uac_settings
103
+ # External SIP peer settings used by Telnyx when registering to your PBX and
104
+ # routing outbound calls.
105
+ #
106
+ # @return [Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings, nil]
107
+ optional :external_uac_settings,
108
+ -> { Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings }
109
+
110
+ # @!attribute fqdn
111
+ # The Telnyx-managed FQDN generated for the UAC connection.
112
+ #
113
+ # @return [String, nil]
114
+ optional :fqdn, String
115
+
116
+ # @!attribute fqdn_outbound_authentication
117
+ # The fixed outbound authentication mode used by UAC FQDN records.
118
+ #
119
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::FqdnOutboundAuthentication, nil]
120
+ optional :fqdn_outbound_authentication,
121
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::FqdnOutboundAuthentication }
122
+
123
+ # @!attribute fqdns
124
+ # FQDN records managed automatically by the UAC connection lifecycle.
125
+ #
126
+ # @return [Array<Telnyx::Models::Fqdn>, nil]
127
+ optional :fqdns, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Fqdn] }
128
+
129
+ # @!attribute inbound
130
+ #
131
+ # @return [Telnyx::Models::UacConnectionCreateResponse::Data::Inbound, nil]
132
+ optional :inbound, -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound }
133
+
134
+ # @!attribute internal_uac_settings
135
+ # Internal Telnyx-side settings for a UAC connection.
136
+ #
137
+ # @return [Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings, nil]
138
+ optional :internal_uac_settings,
139
+ -> { Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings }
140
+
141
+ # @!attribute ios_push_credential_id
142
+ # The uuid of the push credential for Ios
143
+ #
144
+ # @return [String, nil]
145
+ optional :ios_push_credential_id, String, nil?: true
146
+
147
+ # @!attribute jitter_buffer
148
+ # Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams
149
+ # of SIP Trunking calls. The feature is off unless enabled. You may define min and
150
+ # max values in msec for customized buffering behaviors. Larger values add latency
151
+ # but tolerate more jitter, while smaller values reduce latency but are more
152
+ # sensitive to jitter and reordering.
153
+ #
154
+ # @return [Telnyx::Models::ConnectionJitterBuffer, nil]
155
+ optional :jitter_buffer, -> { Telnyx::ConnectionJitterBuffer }
156
+
157
+ # @!attribute noise_suppression
158
+ # Controls when noise suppression is applied to calls. When set to 'inbound',
159
+ # noise suppression is applied to incoming audio. When set to 'outbound', it's
160
+ # applied to outgoing audio. When set to 'both', it's applied in both directions.
161
+ # When set to 'disabled', noise suppression is turned off.
162
+ #
163
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::NoiseSuppression, nil]
164
+ optional :noise_suppression,
165
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::NoiseSuppression }
166
+
167
+ # @!attribute noise_suppression_details
168
+ # Configuration options for noise suppression. These settings are stored
169
+ # regardless of the noise_suppression value, but only take effect when
170
+ # noise_suppression is not 'disabled'. If you disable noise suppression and later
171
+ # re-enable it, the previously configured settings will be used.
172
+ #
173
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
174
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
175
+
176
+ # @!attribute onnet_t38_passthrough_enabled
177
+ # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
178
+ # if both are on the Telnyx network. If this is disabled, Telnyx will be able to
179
+ # use T38 on just one leg of the call depending on each leg's settings.
180
+ #
181
+ # @return [Boolean, nil]
182
+ optional :onnet_t38_passthrough_enabled, Telnyx::Internal::Type::Boolean
183
+
184
+ # @!attribute outbound
185
+ #
186
+ # @return [Telnyx::Models::UacConnectionCreateResponse::Data::Outbound, nil]
187
+ optional :outbound, -> { Telnyx::Models::UacConnectionCreateResponse::Data::Outbound }
188
+
189
+ # @!attribute password
190
+ # The password to be used as part of the credentials. Must be 8 to 128 characters
191
+ # long.
192
+ #
193
+ # @return [String, nil]
194
+ optional :password, String
195
+
196
+ # @!attribute record_type
197
+ # Identifies the type of the resource.
198
+ #
199
+ # @return [String, nil]
200
+ optional :record_type, String
201
+
202
+ # @!attribute registration_status
203
+ # The most recently known SIP registration status for this UAC connection.
204
+ #
205
+ # @return [String, nil]
206
+ optional :registration_status, String, nil?: true
207
+
208
+ # @!attribute registration_status_updated_at
209
+ # ISO 8601 formatted date indicating when the registration status was last
210
+ # updated.
211
+ #
212
+ # @return [String, nil]
213
+ optional :registration_status_updated_at, String, nil?: true
214
+
215
+ # @!attribute rtcp_settings
216
+ #
217
+ # @return [Telnyx::Models::ConnectionRtcpSettings, nil]
218
+ optional :rtcp_settings, -> { Telnyx::ConnectionRtcpSettings }
219
+
220
+ # @!attribute sip_uri_calling_preference
221
+ # This feature enables inbound SIP URI calls to your Credential Auth Connection.
222
+ # If enabled for all (unrestricted) then anyone who calls the SIP URI
223
+ # <your-username>@telnyx.com will be connected to your Connection. You can also
224
+ # choose to allow only calls that are originated on any Connections under your
225
+ # account (internal).
226
+ #
227
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::SipUriCallingPreference, nil]
228
+ optional :sip_uri_calling_preference,
229
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::SipUriCallingPreference }
230
+
231
+ # @!attribute tags
232
+ # Tags associated with the connection.
233
+ #
234
+ # @return [Array<String>, nil]
235
+ optional :tags, Telnyx::Internal::Type::ArrayOf[String]
236
+
237
+ # @!attribute updated_at
238
+ # ISO-8601 formatted date indicating when the resource was updated.
239
+ #
240
+ # @return [String, nil]
241
+ optional :updated_at, String
242
+
243
+ # @!attribute user_name
244
+ # The user name to be used as part of the credentials. Must be 4-32 characters
245
+ # long and alphanumeric values only (no spaces or special characters). At least
246
+ # one of the first 5 characters must be a letter.
247
+ #
248
+ # @return [String, nil]
249
+ optional :user_name, String
250
+
251
+ # @!attribute webhook_api_version
252
+ # Determines which webhook format will be used, Telnyx API v1 or v2.
253
+ #
254
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::WebhookAPIVersion, nil]
255
+ optional :webhook_api_version,
256
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::WebhookAPIVersion }
257
+
258
+ # @!attribute webhook_event_failover_url
259
+ # The failover URL where webhooks related to this connection will be sent if
260
+ # sending to the primary URL fails. Must include a scheme, such as 'https'.
261
+ #
262
+ # @return [String, nil]
263
+ optional :webhook_event_failover_url, String, nil?: true
264
+
265
+ # @!attribute webhook_event_url
266
+ # The URL where webhooks related to this connection will be sent. Must include a
267
+ # scheme, such as 'https'.
268
+ #
269
+ # @return [String, nil]
270
+ optional :webhook_event_url, String
271
+
272
+ # @!attribute webhook_timeout_secs
273
+ # Specifies how many seconds to wait before timing out a webhook.
274
+ #
275
+ # @return [Integer, nil]
276
+ optional :webhook_timeout_secs, Integer, nil?: true
277
+
278
+ # @!method initialize(id: nil, active: nil, anchorsite_override: nil, android_push_credential_id: nil, authentication: 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, external_uac_settings: nil, fqdn: nil, fqdn_outbound_authentication: nil, fqdns: nil, inbound: nil, internal_uac_settings: 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, record_type: nil, registration_status: nil, registration_status_updated_at: nil, rtcp_settings: nil, sip_uri_calling_preference: nil, tags: nil, updated_at: nil, user_name: nil, webhook_api_version: nil, webhook_event_failover_url: nil, webhook_event_url: nil, webhook_timeout_secs: nil)
279
+ # Some parameter documentations has been truncated, see
280
+ # {Telnyx::Models::UacConnectionCreateResponse::Data} for more details.
281
+ #
282
+ # A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite
283
+ # of a standard SIP trunk, where the PBX registers to Telnyx. Use UAC when your
284
+ # PBX doesn’t support outbound SIP registration or you need Telnyx to maintain the
285
+ # registration.
286
+ #
287
+ # @param id [String] Identifies the type of resource.
288
+ #
289
+ # @param active [Boolean] Defaults to true
290
+ #
291
+ # @param anchorsite_override [Symbol, Telnyx::Models::AnchorsiteOverride] `Latency` directs Telnyx to route media through the site with the lowest round-t
292
+ #
293
+ # @param android_push_credential_id [String, nil] The uuid of the push credential for Android
294
+ #
295
+ # @param authentication [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Authentication] The authentication strategy used by this connection.
296
+ #
297
+ # @param call_cost_in_webhooks [Boolean] Specifies if call cost webhooks should be sent for this connection.
298
+ #
299
+ # @param connection_name [String]
300
+ #
301
+ # @param created_at [String] ISO-8601 formatted date indicating when the resource was created.
302
+ #
303
+ # @param default_on_hold_comfort_noise_enabled [Boolean] When enabled, Telnyx will generate comfort noise when you place the call on hold
304
+ #
305
+ # @param dtmf_type [Symbol, Telnyx::Models::DtmfType] Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF
306
+ #
307
+ # @param encode_contact_header_enabled [Boolean] Encode the SIP contact header sent by Telnyx to avoid issues for NAT or ALG scen
308
+ #
309
+ # @param encrypted_media [Symbol, Telnyx::Models::EncryptedMedia, nil] Enable use of SRTP for encryption. Cannot be set if the transport_portocol is TL
310
+ #
311
+ # @param external_uac_settings [Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings] External SIP peer settings used by Telnyx when registering to your PBX and routi
312
+ #
313
+ # @param fqdn [String] The Telnyx-managed FQDN generated for the UAC connection.
314
+ #
315
+ # @param fqdn_outbound_authentication [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::FqdnOutboundAuthentication] The fixed outbound authentication mode used by UAC FQDN records.
316
+ #
317
+ # @param fqdns [Array<Telnyx::Models::Fqdn>] FQDN records managed automatically by the UAC connection lifecycle.
318
+ #
319
+ # @param inbound [Telnyx::Models::UacConnectionCreateResponse::Data::Inbound]
320
+ #
321
+ # @param internal_uac_settings [Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings] Internal Telnyx-side settings for a UAC connection.
322
+ #
323
+ # @param ios_push_credential_id [String, nil] The uuid of the push credential for Ios
324
+ #
325
+ # @param jitter_buffer [Telnyx::Models::ConnectionJitterBuffer] Configuration options for Jitter Buffer. Enables Jitter Buffer for RTP streams o
326
+ #
327
+ # @param noise_suppression [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
328
+ #
329
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
330
+ #
331
+ # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
332
+ #
333
+ # @param outbound [Telnyx::Models::UacConnectionCreateResponse::Data::Outbound]
334
+ #
335
+ # @param password [String] The password to be used as part of the credentials. Must be 8 to 128 characters
336
+ #
337
+ # @param record_type [String] Identifies the type of the resource.
338
+ #
339
+ # @param registration_status [String, nil] The most recently known SIP registration status for this UAC connection.
340
+ #
341
+ # @param registration_status_updated_at [String, nil] ISO 8601 formatted date indicating when the registration status was last updated
342
+ #
343
+ # @param rtcp_settings [Telnyx::Models::ConnectionRtcpSettings]
344
+ #
345
+ # @param sip_uri_calling_preference [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::SipUriCallingPreference] This feature enables inbound SIP URI calls to your Credential Auth Connection. I
346
+ #
347
+ # @param tags [Array<String>] Tags associated with the connection.
348
+ #
349
+ # @param updated_at [String] ISO-8601 formatted date indicating when the resource was updated.
350
+ #
351
+ # @param user_name [String] The user name to be used as part of the credentials. Must be 4-32 characters lon
352
+ #
353
+ # @param webhook_api_version [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::WebhookAPIVersion] Determines which webhook format will be used, Telnyx API v1 or v2.
354
+ #
355
+ # @param webhook_event_failover_url [String, nil] The failover URL where webhooks related to this connection will be sent if sendi
356
+ #
357
+ # @param webhook_event_url [String] The URL where webhooks related to this connection will be sent. Must include a s
358
+ #
359
+ # @param webhook_timeout_secs [Integer, nil] Specifies how many seconds to wait before timing out a webhook.
360
+
361
+ # The authentication strategy used by this connection.
362
+ #
363
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#authentication
364
+ module Authentication
365
+ extend Telnyx::Internal::Type::Enum
366
+
367
+ UAC_AUTHENTICATION = :"uac-authentication"
368
+
369
+ # @!method self.values
370
+ # @return [Array<Symbol>]
371
+ end
372
+
373
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#external_uac_settings
374
+ class ExternalUacSettings < Telnyx::Internal::Type::BaseModel
375
+ # @!attribute auth_username
376
+ # The authentication username used in SIP digest authentication. If not set, the
377
+ # Username value will be used.
378
+ #
379
+ # @return [String, nil]
380
+ optional :auth_username, String, nil?: true
381
+
382
+ # @!attribute expiration_sec
383
+ # The registration interval, in seconds, indicating how often the system refreshes
384
+ # the SIP registration with the external SIP peer.
385
+ #
386
+ # @return [Integer, nil]
387
+ optional :expiration_sec, Integer, nil?: true
388
+
389
+ # @!attribute from_user
390
+ # The user portion of the SIP From header used in outbound requests. This controls
391
+ # the caller identity presented to the external SIP peer.
392
+ #
393
+ # @return [String, nil]
394
+ optional :from_user, String, nil?: true
395
+
396
+ # @!attribute outbound_proxy
397
+ # An optional SIP proxy used to route outbound requests before reaching the
398
+ # external SIP peer.
399
+ #
400
+ # @return [String, nil]
401
+ optional :outbound_proxy, String, nil?: true
402
+
403
+ # @!attribute password
404
+ # The SIP password used for digest authentication with the external SIP peer.
405
+ #
406
+ # @return [String, nil]
407
+ optional :password, String
408
+
409
+ # @!attribute proxy
410
+ # The SIP proxy address of the external SIP peer used for registrations and
411
+ # outbound call routing.
412
+ #
413
+ # @return [String, nil]
414
+ optional :proxy, String
415
+
416
+ # @!attribute transport
417
+ # The transport protocol used for SIP signaling when communicating with the
418
+ # external SIP peer. One of UDP, TLS, or TCP.
419
+ #
420
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::Transport, nil]
421
+ optional :transport,
422
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::Transport },
423
+ nil?: true
424
+
425
+ # @!attribute username
426
+ # The SIP username used to authenticate with the external SIP peer for
427
+ # registrations and outbound calls. Must start with a letter or number and contain
428
+ # only letters, numbers, hyphens, and underscores.
429
+ #
430
+ # @return [String, nil]
431
+ optional :username, String
432
+
433
+ # @!method initialize(auth_username: nil, expiration_sec: nil, from_user: nil, outbound_proxy: nil, password: nil, proxy: nil, transport: nil, username: nil)
434
+ # Some parameter documentations has been truncated, see
435
+ # {Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings} for
436
+ # more details.
437
+ #
438
+ # External SIP peer settings used by Telnyx when registering to your PBX and
439
+ # routing outbound calls.
440
+ #
441
+ # @param auth_username [String, nil] The authentication username used in SIP digest authentication. If not set, the U
442
+ #
443
+ # @param expiration_sec [Integer, nil] The registration interval, in seconds, indicating how often the system refreshes
444
+ #
445
+ # @param from_user [String, nil] The user portion of the SIP From header used in outbound requests. This controls
446
+ #
447
+ # @param outbound_proxy [String, nil] An optional SIP proxy used to route outbound requests before reaching the extern
448
+ #
449
+ # @param password [String] The SIP password used for digest authentication with the external SIP peer.
450
+ #
451
+ # @param proxy [String] The SIP proxy address of the external SIP peer used for registrations and outbou
452
+ #
453
+ # @param transport [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings::Transport, nil] The transport protocol used for SIP signaling when communicating with the extern
454
+ #
455
+ # @param username [String] The SIP username used to authenticate with the external SIP peer for registratio
456
+
457
+ # The transport protocol used for SIP signaling when communicating with the
458
+ # external SIP peer. One of UDP, TLS, or TCP.
459
+ #
460
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::ExternalUacSettings#transport
461
+ module Transport
462
+ extend Telnyx::Internal::Type::Enum
463
+
464
+ UDP = :UDP
465
+ TLS = :TLS
466
+ TCP = :TCP
467
+
468
+ # @!method self.values
469
+ # @return [Array<Symbol>]
470
+ end
471
+ end
472
+
473
+ # The fixed outbound authentication mode used by UAC FQDN records.
474
+ #
475
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#fqdn_outbound_authentication
476
+ module FqdnOutboundAuthentication
477
+ extend Telnyx::Internal::Type::Enum
478
+
479
+ CREDENTIAL_AUTHENTICATION = :"credential-authentication"
480
+
481
+ # @!method self.values
482
+ # @return [Array<Symbol>]
483
+ end
484
+
485
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#inbound
486
+ class Inbound < Telnyx::Internal::Type::BaseModel
487
+ # @!attribute ani_number_format
488
+ # This setting allows you to set the format with which the caller's number (ANI)
489
+ # is sent for inbound phone calls.
490
+ #
491
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::AniNumberFormat, nil]
492
+ optional :ani_number_format,
493
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::AniNumberFormat }
494
+
495
+ # @!attribute channel_limit
496
+ # When set, this will limit the total number of inbound calls to phone numbers
497
+ # associated with this connection.
498
+ #
499
+ # @return [Integer, nil]
500
+ optional :channel_limit, Integer
501
+
502
+ # @!attribute codecs
503
+ # Defines the list of codecs that Telnyx will send for inbound calls to a specific
504
+ # number on your portal account, in priority order. This only works when the
505
+ # Connection the number is assigned to uses Media Handling mode: default. OPUS and
506
+ # H.264 codecs are available only when using TCP or TLS transport for SIP.
507
+ #
508
+ # @return [Array<String>, nil]
509
+ optional :codecs, Telnyx::Internal::Type::ArrayOf[String]
510
+
511
+ # @!attribute default_routing_method
512
+ # Default routing method to be used when a number is associated with the
513
+ # connection. Must be one of the routing method types or left blank, other values
514
+ # are not allowed.
515
+ #
516
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DefaultRoutingMethod, nil]
517
+ optional :default_routing_method,
518
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DefaultRoutingMethod }
519
+
520
+ # @!attribute dnis_number_format
521
+ #
522
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DnisNumberFormat, nil]
523
+ optional :dnis_number_format,
524
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DnisNumberFormat }
525
+
526
+ # @!attribute generate_ringback_tone
527
+ # Generate ringback tone through 183 session progress message with early media.
528
+ #
529
+ # @return [Boolean, nil]
530
+ optional :generate_ringback_tone, Telnyx::Internal::Type::Boolean
531
+
532
+ # @!attribute isup_headers_enabled
533
+ # When set, inbound phone calls will receive ISUP parameters via SIP headers.
534
+ # (Only when available and only when using TCP or TLS transport.)
535
+ #
536
+ # @return [Boolean, nil]
537
+ optional :isup_headers_enabled, Telnyx::Internal::Type::Boolean
538
+
539
+ # @!attribute prack_enabled
540
+ # Enable PRACK messages as defined in RFC3262.
541
+ #
542
+ # @return [Boolean, nil]
543
+ optional :prack_enabled, Telnyx::Internal::Type::Boolean
544
+
545
+ # @!attribute shaken_stir_enabled
546
+ # When enabled the SIP Connection will receive the Identity header with
547
+ # Shaken/Stir data in the SIP INVITE message of inbound calls, even when using UDP
548
+ # transport.
549
+ #
550
+ # @return [Boolean, nil]
551
+ optional :shaken_stir_enabled, Telnyx::Internal::Type::Boolean
552
+
553
+ # @!attribute simultaneous_ringing
554
+ # When enabled, allows multiple devices to ring simultaneously on incoming calls.
555
+ #
556
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SimultaneousRinging, nil]
557
+ optional :simultaneous_ringing,
558
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SimultaneousRinging }
559
+
560
+ # @!attribute sip_compact_headers_enabled
561
+ # Defaults to true.
562
+ #
563
+ # @return [Boolean, nil]
564
+ optional :sip_compact_headers_enabled, Telnyx::Internal::Type::Boolean
565
+
566
+ # @!attribute sip_subdomain
567
+ # The Telnyx-generated SIP subdomain for this UAC connection.
568
+ #
569
+ # @return [String, nil]
570
+ optional :sip_subdomain, String
571
+
572
+ # @!attribute sip_subdomain_receive_settings
573
+ # Controls which SIP URI callers may reach this connection.
574
+ #
575
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SipSubdomainReceiveSettings, nil]
576
+ optional :sip_subdomain_receive_settings,
577
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SipSubdomainReceiveSettings }
578
+
579
+ # @!attribute timeout_1xx_secs
580
+ # Time(sec) before aborting if connection is not made.
581
+ #
582
+ # @return [Integer, nil]
583
+ optional :timeout_1xx_secs, Integer
584
+
585
+ # @!attribute timeout_2xx_secs
586
+ # Time(sec) before aborting if call is unanswered (min: 1, max: 600).
587
+ #
588
+ # @return [Integer, nil]
589
+ optional :timeout_2xx_secs, Integer
590
+
591
+ # @!method initialize(ani_number_format: nil, channel_limit: nil, codecs: nil, default_routing_method: nil, dnis_number_format: nil, generate_ringback_tone: nil, isup_headers_enabled: nil, prack_enabled: nil, shaken_stir_enabled: nil, simultaneous_ringing: nil, sip_compact_headers_enabled: nil, sip_subdomain: nil, sip_subdomain_receive_settings: nil, timeout_1xx_secs: nil, timeout_2xx_secs: nil)
592
+ # Some parameter documentations has been truncated, see
593
+ # {Telnyx::Models::UacConnectionCreateResponse::Data::Inbound} for more details.
594
+ #
595
+ # @param ani_number_format [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::AniNumberFormat] This setting allows you to set the format with which the caller's number (ANI) i
596
+ #
597
+ # @param channel_limit [Integer] When set, this will limit the total number of inbound calls to phone numbers ass
598
+ #
599
+ # @param codecs [Array<String>] Defines the list of codecs that Telnyx will send for inbound calls to a specific
600
+ #
601
+ # @param default_routing_method [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DefaultRoutingMethod] Default routing method to be used when a number is associated with the connectio
602
+ #
603
+ # @param dnis_number_format [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::DnisNumberFormat]
604
+ #
605
+ # @param generate_ringback_tone [Boolean] Generate ringback tone through 183 session progress message with early media.
606
+ #
607
+ # @param isup_headers_enabled [Boolean] When set, inbound phone calls will receive ISUP parameters via SIP headers. (Onl
608
+ #
609
+ # @param prack_enabled [Boolean] Enable PRACK messages as defined in RFC3262.
610
+ #
611
+ # @param shaken_stir_enabled [Boolean] When enabled the SIP Connection will receive the Identity header with Shaken/Sti
612
+ #
613
+ # @param simultaneous_ringing [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SimultaneousRinging] When enabled, allows multiple devices to ring simultaneously on incoming calls.
614
+ #
615
+ # @param sip_compact_headers_enabled [Boolean] Defaults to true.
616
+ #
617
+ # @param sip_subdomain [String] The Telnyx-generated SIP subdomain for this UAC connection.
618
+ #
619
+ # @param sip_subdomain_receive_settings [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Inbound::SipSubdomainReceiveSettings] Controls which SIP URI callers may reach this connection.
620
+ #
621
+ # @param timeout_1xx_secs [Integer] Time(sec) before aborting if connection is not made.
622
+ #
623
+ # @param timeout_2xx_secs [Integer] Time(sec) before aborting if call is unanswered (min: 1, max: 600).
624
+
625
+ # This setting allows you to set the format with which the caller's number (ANI)
626
+ # is sent for inbound phone calls.
627
+ #
628
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Inbound#ani_number_format
629
+ module AniNumberFormat
630
+ extend Telnyx::Internal::Type::Enum
631
+
632
+ PLUS_E_164 = :"+E.164"
633
+ E_164 = :"E.164"
634
+ PLUS_E_164_NATIONAL = :"+E.164-national"
635
+ E_164_NATIONAL = :"E.164-national"
636
+
637
+ # @!method self.values
638
+ # @return [Array<Symbol>]
639
+ end
640
+
641
+ # Default routing method to be used when a number is associated with the
642
+ # connection. Must be one of the routing method types or left blank, other values
643
+ # are not allowed.
644
+ #
645
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Inbound#default_routing_method
646
+ module DefaultRoutingMethod
647
+ extend Telnyx::Internal::Type::Enum
648
+
649
+ SEQUENTIAL = :sequential
650
+ ROUND_ROBIN = :"round-robin"
651
+
652
+ # @!method self.values
653
+ # @return [Array<Symbol>]
654
+ end
655
+
656
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Inbound#dnis_number_format
657
+ module DnisNumberFormat
658
+ extend Telnyx::Internal::Type::Enum
659
+
660
+ PLUS_E164 = :"+e164"
661
+ E164 = :e164
662
+ NATIONAL = :national
663
+ SIP_USERNAME = :sip_username
664
+
665
+ # @!method self.values
666
+ # @return [Array<Symbol>]
667
+ end
668
+
669
+ # When enabled, allows multiple devices to ring simultaneously on incoming calls.
670
+ #
671
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Inbound#simultaneous_ringing
672
+ module SimultaneousRinging
673
+ extend Telnyx::Internal::Type::Enum
674
+
675
+ DISABLED = :disabled
676
+ ENABLED = :enabled
677
+
678
+ # @!method self.values
679
+ # @return [Array<Symbol>]
680
+ end
681
+
682
+ # Controls which SIP URI callers may reach this connection.
683
+ #
684
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Inbound#sip_subdomain_receive_settings
685
+ module SipSubdomainReceiveSettings
686
+ extend Telnyx::Internal::Type::Enum
687
+
688
+ ONLY_MY_CONNECTIONS = :only_my_connections
689
+ FROM_ANYONE = :from_anyone
690
+
691
+ # @!method self.values
692
+ # @return [Array<Symbol>]
693
+ end
694
+ end
695
+
696
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#internal_uac_settings
697
+ class InternalUacSettings < Telnyx::Internal::Type::BaseModel
698
+ # @!attribute destination_uri
699
+ # The SIP URI that Telnyx will call when handling an inbound request from the
700
+ # external peer. Do not include a `sip:` prefix. The value must be in the format
701
+ # `userinfo@[subdomain.]sip.telnyx.com` or
702
+ # `userinfo@[subdomain.]sipdev.telnyx.com`; the userinfo portion may contain only
703
+ # letters, digits, hyphens, and underscores.
704
+ #
705
+ # @return [String, nil]
706
+ optional :destination_uri, String
707
+
708
+ # @!method initialize(destination_uri: nil)
709
+ # Some parameter documentations has been truncated, see
710
+ # {Telnyx::Models::UacConnectionCreateResponse::Data::InternalUacSettings} for
711
+ # more details.
712
+ #
713
+ # Internal Telnyx-side settings for a UAC connection.
714
+ #
715
+ # @param destination_uri [String] The SIP URI that Telnyx will call when handling an inbound request from the exte
716
+ end
717
+
718
+ # Controls when noise suppression is applied to calls. When set to 'inbound',
719
+ # noise suppression is applied to incoming audio. When set to 'outbound', it's
720
+ # applied to outgoing audio. When set to 'both', it's applied in both directions.
721
+ # When set to 'disabled', noise suppression is turned off.
722
+ #
723
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#noise_suppression
724
+ module NoiseSuppression
725
+ extend Telnyx::Internal::Type::Enum
726
+
727
+ INBOUND = :inbound
728
+ OUTBOUND = :outbound
729
+ BOTH = :both
730
+ DISABLED = :disabled
731
+
732
+ # @!method self.values
733
+ # @return [Array<Symbol>]
734
+ end
735
+
736
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#outbound
737
+ class Outbound < Telnyx::Internal::Type::BaseModel
738
+ # @!attribute ani_override
739
+ # Set a phone number as the ani_override value to override caller id number on
740
+ # outbound calls.
741
+ #
742
+ # @return [String, nil]
743
+ optional :ani_override, String
744
+
745
+ # @!attribute ani_override_type
746
+ # Specifies when we apply your ani_override setting. Only applies when
747
+ # ani_override is not blank.
748
+ #
749
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::AniOverrideType, nil]
750
+ optional :ani_override_type,
751
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::AniOverrideType }
752
+
753
+ # @!attribute call_parking_enabled
754
+ # Forces all SIP calls originated on this connection to be "parked" instead of
755
+ # "bridged" to the destination specified on the URI. Parked calls will return
756
+ # ringback to the caller and will await for a Call Control command to define which
757
+ # action will be taken next.
758
+ #
759
+ # @return [Boolean, nil]
760
+ optional :call_parking_enabled, Telnyx::Internal::Type::Boolean, nil?: true
761
+
762
+ # @!attribute channel_limit
763
+ # When set, this will limit the total number of outbound calls to phone numbers
764
+ # associated with this connection.
765
+ #
766
+ # @return [Integer, nil]
767
+ optional :channel_limit, Integer
768
+
769
+ # @!attribute generate_ringback_tone
770
+ # Generate ringback tone through 183 session progress message with early media.
771
+ #
772
+ # @return [Boolean, nil]
773
+ optional :generate_ringback_tone, Telnyx::Internal::Type::Boolean
774
+
775
+ # @!attribute instant_ringback_enabled
776
+ # When set, ringback will not wait for indication before sending ringback tone to
777
+ # calling party.
778
+ #
779
+ # @return [Boolean, nil]
780
+ optional :instant_ringback_enabled, Telnyx::Internal::Type::Boolean
781
+
782
+ # @!attribute localization
783
+ # A 2-character country code specifying the country whose national dialing rules
784
+ # should be used. For example, if set to `US` then any US number can be dialed
785
+ # without preprending +1 to the number. When left blank, Telnyx will try US and GB
786
+ # dialing rules, in that order, by default.
787
+ #
788
+ # @return [String, nil]
789
+ optional :localization, String
790
+
791
+ # @!attribute outbound_voice_profile_id
792
+ # Identifies the associated outbound voice profile.
793
+ #
794
+ # @return [String, nil]
795
+ optional :outbound_voice_profile_id, String
796
+
797
+ # @!attribute t38_reinvite_source
798
+ # This setting only affects connections with Fax-type Outbound Voice Profiles. The
799
+ # setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
800
+ # default, Telnyx will send the re-invite. If set to `customer`, the caller is
801
+ # expected to send the t.38 reinvite.
802
+ #
803
+ # @return [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::T38ReinviteSource, nil]
804
+ optional :t38_reinvite_source,
805
+ enum: -> { Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::T38ReinviteSource }
806
+
807
+ # @!method initialize(ani_override: nil, ani_override_type: nil, call_parking_enabled: nil, channel_limit: nil, generate_ringback_tone: nil, instant_ringback_enabled: nil, localization: nil, outbound_voice_profile_id: nil, t38_reinvite_source: nil)
808
+ # Some parameter documentations has been truncated, see
809
+ # {Telnyx::Models::UacConnectionCreateResponse::Data::Outbound} for more details.
810
+ #
811
+ # @param ani_override [String] Set a phone number as the ani_override value to override caller id number on out
812
+ #
813
+ # @param ani_override_type [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::AniOverrideType] Specifies when we apply your ani_override setting. Only applies when ani_overrid
814
+ #
815
+ # @param call_parking_enabled [Boolean, nil] Forces all SIP calls originated on this connection to be "parked" instead of "br
816
+ #
817
+ # @param channel_limit [Integer] When set, this will limit the total number of outbound calls to phone numbers as
818
+ #
819
+ # @param generate_ringback_tone [Boolean] Generate ringback tone through 183 session progress message with early media.
820
+ #
821
+ # @param instant_ringback_enabled [Boolean] When set, ringback will not wait for indication before sending ringback tone to
822
+ #
823
+ # @param localization [String] A 2-character country code specifying the country whose national dialing rules s
824
+ #
825
+ # @param outbound_voice_profile_id [String] Identifies the associated outbound voice profile.
826
+ #
827
+ # @param t38_reinvite_source [Symbol, Telnyx::Models::UacConnectionCreateResponse::Data::Outbound::T38ReinviteSource] This setting only affects connections with Fax-type Outbound Voice Profiles. The
828
+
829
+ # Specifies when we apply your ani_override setting. Only applies when
830
+ # ani_override is not blank.
831
+ #
832
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Outbound#ani_override_type
833
+ module AniOverrideType
834
+ extend Telnyx::Internal::Type::Enum
835
+
836
+ ALWAYS = :always
837
+ NORMAL = :normal
838
+ EMERGENCY = :emergency
839
+
840
+ # @!method self.values
841
+ # @return [Array<Symbol>]
842
+ end
843
+
844
+ # This setting only affects connections with Fax-type Outbound Voice Profiles. The
845
+ # setting dictates whether or not Telnyx sends a t.38 reinvite.<br/><br/> By
846
+ # default, Telnyx will send the re-invite. If set to `customer`, the caller is
847
+ # expected to send the t.38 reinvite.
848
+ #
849
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data::Outbound#t38_reinvite_source
850
+ module T38ReinviteSource
851
+ extend Telnyx::Internal::Type::Enum
852
+
853
+ TELNYX = :telnyx
854
+ CUSTOMER = :customer
855
+ DISABLED = :disabled
856
+ PASSTHRU = :passthru
857
+ CALLER_PASSTHRU = :"caller-passthru"
858
+ CALLEE_PASSTHRU = :"callee-passthru"
859
+
860
+ # @!method self.values
861
+ # @return [Array<Symbol>]
862
+ end
863
+ end
864
+
865
+ # This feature enables inbound SIP URI calls to your Credential Auth Connection.
866
+ # If enabled for all (unrestricted) then anyone who calls the SIP URI
867
+ # <your-username>@telnyx.com will be connected to your Connection. You can also
868
+ # choose to allow only calls that are originated on any Connections under your
869
+ # account (internal).
870
+ #
871
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#sip_uri_calling_preference
872
+ module SipUriCallingPreference
873
+ extend Telnyx::Internal::Type::Enum
874
+
875
+ DISABLED = :disabled
876
+ UNRESTRICTED = :unrestricted
877
+ INTERNAL = :internal
878
+
879
+ # @!method self.values
880
+ # @return [Array<Symbol>]
881
+ end
882
+
883
+ # Determines which webhook format will be used, Telnyx API v1 or v2.
884
+ #
885
+ # @see Telnyx::Models::UacConnectionCreateResponse::Data#webhook_api_version
886
+ module WebhookAPIVersion
887
+ extend Telnyx::Internal::Type::Enum
888
+
889
+ V1 = :"1"
890
+ V2 = :"2"
891
+
892
+ # @!method self.values
893
+ # @return [Array<Symbol>]
894
+ end
895
+ end
896
+ end
897
+ end
898
+ end