Perform a voice conversation


trackingIdThe id of the conversation.
directionThe direction of the conversation (Inbound or Outbound).
fromThe sender id of the conversation.
toThe recipient of the conversation.
to.phoneA valid phone number (mobile or landline).
to.sipA valid SIP URI.
(ex [email protected]:55080)
to.viberA valid phone number with Viber App installed (e.g. 306971234567)
dialPlanUrlThe url that contains a combination of action verbs to be executed.
dialPlanA combination of action verbs to be executed.
dialPlan.verbsThe array of SAY, PLAY, DIAL and COLLECT verbs. Check here for possible values.
callbackDefines the notification callback information for the progress of Voice conversation.
callback.urlThe URL that will be called when an update occurs.
callback.strategyWhen the URL will be called. Two possible values: on every status change (OnChange) or when a final status arrives (OnCompletion).
hangupDelayThe time to wait for the call to be answered.
The default value is to wait for the network to terminate the call.
createdAtThe time the conversation was created.
maxDurationThe maximum duration.
machineDetectionIt is used to detect if the call is answered by human or machine and define the desired actions (in case of machine).
machineDetection.strategyThe strategy to follow when a machine has been detected. Possible values: "Hangup" (terminate the call) or "Continue" (give another dialplan to execute).
machineDetection.eventUrlThe URL that Routee will POST to when a machine is detected (only for "Continue" strategy). A valid dialplan is expected as response.