DIAL Verb

With DIAL verb, you can connect another recipient to the call. The recipient of the conversation (in case of outbound conversation) or the caller of the conversation (in case of inbound) will be connected to the defined, in the DIAL verb, recipient (only 1 DIAL Verb per Dialplan).

{
  "type": "DIAL",
  "from":"mindpuzzle",
  "to": {"phone":"+3069xxxxxxxx"},
  "hangupDelay": 30,
  "maxDuration":60,
  "callback": ":https://xxxxxxxx",
  "record": "true",
  "recordingFormat": "MP3",
  "recordingCallbackUrl":"https://xxxxxxxx"
}
KEYDESCRIPTION
type*"DIAL"
from*The sender Id for this call.
to*The recipient of this call.
to.phoneA valid phone number (mobile or landline)
to.sipA valid SIP URI.
to.viberA valid phone number with Viber App installed (e.g. 306971234567)
hangupDelayThe time in seconds to wait for the second call of the bridge to be answered.
The default value is to wait for the network to terminate the call in case the call is not answered. Min value: 1
maxDurationCall time length after bridge. Min value: 1
callbackDefines the notification callback information for this call. Check here for more information.
callback.urlThe URL that Routee will POST to the callback information.
callback.strategyDefines when the URL will be called.
Two possible values: on every status change (OnChange) or when a final status arrives (OnCompletion).
recordIf the value is true, the conversation will be recorded. Default value is false
recordingFormatThe format of the recorded file (WAV or MP3).
Default value is MP3
recordingCallbackUrlThe URL that Routee will POST to the information about the recorded file.
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.