NAME
Twilio::TwiML::Voice::Number - The Number element of TwiML
SYNOPSIS
my $element = Twilio::TwiML::Voice::Number->new($phone_number, \%attributes);
DESCRIPTION
See Twilio::TwiML::TwiML for the methods every element has.
METHODS
new
my $element = Twilio::TwiML::Voice::Number->new($phone_number, \%attributes);
attribute_table
Used by Twilio::TwiML::TwiML.
ATTRIBUTES
Each name works in \%attributes, and as a set_ method that returns the element.
amd_status_callback-
The URL we should call to send amd status information to your application
amd_status_callback_method-
HTTP Method to use with amd_status_callback
byoc-
BYOC trunk SID (Beta)
machine_detection-
Enable machine detection or end of greeting detection
machine_detection_silence_timeout-
Number of milliseconds of initial silence
machine_detection_speech_end_threshold-
Number of milliseconds of silence after speech activity
machine_detection_speech_threshold-
Number of milliseconds for measuring stick for the length of the speech activity
machine_detection_timeout-
Number of seconds to wait for machine detection
method-
TwiML URL method
send_digits-
DTMF tones to play when the call is answered
status_callback-
Status callback URL
status_callback_event-
Events to call status callback An array reference.
status_callback_method-
Status callback URL method
url-
TwiML URL
set_amd_status_callback
set_amd_status_callback_method
set_byoc
set_machine_detection
set_machine_detection_silence_timeout
set_machine_detection_speech_end_threshold
set_machine_detection_speech_threshold
set_machine_detection_timeout
set_method
set_send_digits
set_status_callback
set_status_callback_event
set_status_callback_method
set_url
Set the attribute of the same name.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.