vonage-node-code-snippets icon indicating copy to clipboard operation
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

Open foongef-kewdoo opened this issue 1 year ago • 1 comments

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

foongef-kewdoo avatar Aug 29 '24 10:08 foongef-kewdoo