Transfer Call

plivo.transfer_call
ActionVoice & SMSconnection required

Calls the Plivo API with the connection's credentials.

Move a live call to new Plivo XML, transferring either the caller leg, the callee leg, or both to a different answer URL.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Plivo
Secret shape
{"username": "<Auth ID>", "password": "<Auth Token>"}
Config it needs
auth_id, src, answer_url, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
call_uuid
The identifier of the call to act on, as returned by a call lookup.
stringYes——4d04c52e-cea3-4458-bbdb-0bfc314ee7cd
legs
Which side of the call this applies to: the caller (aleg), the callee (bleg), or both.
stringNo—one of "aleg", "bleg", "both"—
aleg_url
URL returning the Plivo XML the caller leg is transferred to.
stringNo—url format—
aleg_method
The HTTP verb Plivo uses when it fetches the caller-leg URL.
stringConditional—one of "GET", "POST"; only with aleg_url—
bleg_url
URL returning the Plivo XML the callee leg is transferred to.
stringNo—url format—
bleg_method
The HTTP verb Plivo uses when it fetches the callee-leg URL.
stringConditional—one of "GET", "POST"; only with bleg_url—
  • At least one of aleg_url, bleg_url must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "call_uuid": "4d04c52e-cea3-4458-bbdb-0bfc314ee7cd"
}

Output

One shape.

result

FieldTypeExample
transferred
True when Plivo accepted the transfer.
boolean—
call_uuid
The call that was transferred.
string—
message
Plivo's acknowledgement text, such as 'call transfered'.
string—
api_id
Plivo's identifier for this API request.
string—
response
The acknowledgement exactly as Plivo returned it.
object—
{
  "api_id": "",
  "call_uuid": "",
  "message": "",
  "response": {},
  "transferred": false
}

See Transfer Call run in a workflow.

In a technical demo we add the Plivo connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.