vonage-node-code-snippets
vonage-node-code-snippets copied to clipboard
[Question]: How to initiate an outbound call with phone number and text-to-speech in chinese? Not by call leg UUID
Node Version
18.x
Platform
Linux, Mac (intel)
SDK Version
3
Code Sample
const resp = await vonage.voice .playTTS(params.phone, { action: 'talk', text: '你好', language: 'cmn-CN', }) .then((resp) => console.log(resp)) .catch((err) => console.error(err));
Expected Behavior
User receive call in Chinese voice
Actual Behavior
Only able to receive call in english only