rpc_dial
rpc_dial
Dial out to a phone number with a destination SWML URL that handles the
outbound call leg. This is commonly used in call screening scenarios: place the
caller on hold with hold(),
then dial out to a human whose call is handled by a separate SWML agent.
Parameters
to_number
Phone number to dial in E.164 format.
from_number
Caller ID to display in E.164 format.
dest_swml
URL of the SWML document that handles the outbound call leg. The SWML at this URL typically runs a screening agent that can accept, reject, or take a message.
device_type
Device type for the outbound leg.
Returns
FunctionResult — self, for chaining.