NAME
Twilio::TwiML::Voice::Sip - The Sip element of TwiML
SYNOPSIS
my $element = Twilio::TwiML::Voice::Sip->new($sip_url, \%attributes);
DESCRIPTION
See Twilio::TwiML::TwiML for the methods every element has.
METHODS
new
my $element = Twilio::TwiML::Voice::Sip->new($sip_url, \%attributes);
attribute_table
Used by Twilio::TwiML::TwiML.
headers
my $child = $element->headers();
Add Headers child. Returns a Twilio::TwiML::Voice::Headers.
uri
my $child = $element->uri($sip_url, \%attributes);
Add Uri child. Returns a Twilio::TwiML::Voice::SipUri.
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
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-
Action URL method
password-
SIP Password
status_callback-
Status callback URL
status_callback_event-
Status callback events An array reference.
status_callback_method-
Status callback URL method
url-
Action URL
username-
SIP Username
set_amd_status_callback
set_amd_status_callback_method
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_password
set_status_callback
set_status_callback_event
set_status_callback_method
set_url
set_username
Set the attribute of the same name.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.