Accepts one of the following messages:
Payload
BCP-47 language tag used for speech-to-text transcription of the inbound audio.
This is the language set in the SVAML command when the voice relay session was initiated.
Name of the default voice that will be used when synthesizing speech.
This is the TTS voice name set in the SVAML command when the voice relay session was initiated.
Indicates if automatic interruption on detected speech is enabled for this session.
{ "command": "connect", "version": 1, "callId": "01KHKF468K4P1T3CZ4XJ1NYVN3", "serviceId": "5c90f98a-5002-4f8a-9b02-c1cb552bed95", "sttLanguage": "en-US", "ttsVoice": "Joanna", "interruptionsEnabled": true, "callHeaders": { "key1": "value1", "key2": "value2" } }
Connection initiated from the Sinch Platform
This is the first message sent from the Sinch platform for all outgoing stream connections. This message carries information about the call, including call headers, the Call-ID, Service-ID, etc. Based on the information that this command carries, the customer can make a decision if the request should be accepted or not.