Class: Telnyx::Models::AI::TelephonySettings::VoicemailDetection

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/telephony_settings.rb

Overview

Defined Under Namespace

Classes: OnVoicemailDetected

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(on_voicemail_detected: nil) ⇒ Object

Configuration for voicemail detection (AMD - Answering Machine Detection) on outgoing calls. These settings only apply if AMD is enabled on the Dial command. See [TeXML Dial documentation](developers.telnyx.com/api-reference/texml-rest-commands/initiate-an-outbound-call) for enabling AMD. Recommended settings: MachineDetection=Enable, AsyncAmd=true, DetectionMode=Premium.

Parameters:



# File 'lib/telnyx/models/ai/telephony_settings.rb', line 212

Instance Attribute Details

#on_voicemail_detectedTelnyx::Models::AI::TelephonySettings::VoicemailDetection::OnVoicemailDetected?

Action to take when voicemail is detected.



209
210
# File 'lib/telnyx/models/ai/telephony_settings.rb', line 209

optional :on_voicemail_detected,
-> { Telnyx::AI::TelephonySettings::VoicemailDetection::OnVoicemailDetected }