Package com.sinch.sdk.domains.voice
Interface CalloutsService
public interface CalloutsService
A callout is a call made to a phone number or app using the API.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncall
(CalloutRequestParameters parameters) Makes a call out to a phone number.conference
(CalloutRequestParametersConference parameters) The conference callout calls a phone number or a user.custom
(CalloutRequestParametersCustom parameters) The custom callout, the server initiates a call from the servers that can be controlled by specifying how the call should progress at each call event.textToSpeech
(CalloutRequestParametersTTS parameters) The text-to-speech callout calls a phone number and plays a synthesized text messages or pre-recorded sound files.
-
Method Details
-
textToSpeech
The text-to-speech callout calls a phone number and plays a synthesized text messages or pre-recorded sound files.- Parameters:
parameters
- Text to speech parameters- Returns:
- The returned call identifier (callId)
- Since:
- 1.0
-
conference
The conference callout calls a phone number or a user. When the call is answered, it's connected to a conference room.- Parameters:
parameters
- Conference parameters- Returns:
- The returned call identifier (callId)
- Since:
- 1.0
-
custom
The custom callout, the server initiates a call from the servers that can be controlled by specifying how the call should progress at each call event.- Parameters:
parameters
- Custom parameters- Returns:
- The returned call identifier (callId)
- Since:
- 1.0
-
call
Makes a call out to a phone number. The types of callouts currently supported are conference callouts, text-to-speech callouts, and custom callouts. The custom callout is the most flexible, but text-to-speech and conference callouts are more convenient.- Parameters:
parameters
- Callout type to be performed- Returns:
- The returned call identifier (callId)
- Since:
- 1.0
-