NAME

Twilio::TwiML::Voice::Application - The Application element of TwiML

SYNOPSIS

my $element = Twilio::TwiML::Voice::Application->new($application_sid, \%attributes);

DESCRIPTION

See Twilio::TwiML::TwiML for the methods every element has.

METHODS

new

my $element = Twilio::TwiML::Voice::Application->new($application_sid, \%attributes);

attribute_table

Used by Twilio::TwiML::TwiML.

application_sid

my $child = $element->application_sid($sid);

Add ApplicationSid child. Returns a Twilio::TwiML::Voice::ApplicationSid.

parameter

my $child = $element->parameter(\%attributes);

Add Parameter child. Returns a Twilio::TwiML::Voice::Parameter.

ATTRIBUTES

Each name works in \%attributes, and as a set_ method that returns the element.

copy_parent_to

Copy parent call To field to called application side, otherwise use the application sid as To field True or false.

customer_id

Identity of the customer calling application

method

TwiML URL Method

status_callback

Status Callback URL

status_callback_event

Events to trigger status callback An array reference.

status_callback_method

Status Callback URL Method

url

TwiML URL

set_copy_parent_to

set_customer_id

set_method

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.