我正在使用sinch rest api进行电话呼叫正常工作,我的问题是如何更改音频(wav)文件,文本中提到了默认文件:http://www.thehotline.co/content/prompts/v2/1greeting_b.wav 但如果我将音频文件更改为http://www.wav-sounds.com/cartoon/bugsbunny1.wav音频文件没有播放,则会读取文件路径......
[POST] https://callingapi.sinch.com/v1/callouts
{
"method" : "ttsCallout",
"ttsCallout" :
{
"cli" : "46000000000",
"destination" : { "type" : "number", "endpoint" : "46000000001" },
"domain" : "pstn",
"custom" : "customData",
"locale" : "en-US",
"text" : "http://www.thehotline.co/content/prompts/v2/1greeting_b.wavss"
}
}
...谢谢