<Client> noun specifies a client identifier to dial.
You can use up to ten
<Client> nouns within a
<Dial> verb to simultaneously
attempt a connection with many clients at once.
The first client to accept the incoming connection is connected to the
call and the other connection attempts are canceled.
If you want to connect with multiple other clients simultaneously, read about
<Client> noun supports the following attributes that modify its behavior:
|Attribute Name||Allowed Values||Default Value|
The 'url' attribute allows you to specify a url for a TwiML document that will
run on the called party's end, after she answers, but before the parties are
connected. You can use this TwiML to privately play or say information to the
called party, or provide a chance to decline the phone call using
<Hangup>. The current caller will continue to hear ringing while the
TwiML document executes on the other end. TwiML documents executed in this
manner are not allowed to contain the
The 'method' attribute allows you to specify which HTTP method Twilio should
use when requesting the URL in the 'url' attribute. The default is
In this example, we want to connect the current call to a client named
To connect the call to
jenny, use a
<Client> noun nested inside.
<?xml version="1.0" encoding="UTF-8"?> <Response> <Dial> <Client>jenny</Client> </Dial> </Response>
You can use up to ten total
<Dial> verb to dial multiple phone
numbers and clients at the same time. The first person to answer the call will
be connected to the caller, while the rest of the call attempts are hung up.
<?xml version="1.0" encoding="UTF-8"?> <Response> <Dial callerId="+1888XXXXXXX"> <Number>858-987-6543</Number> <Client>jenny</Client> <Client>tommy</Client> </Dial> </Response>