Twilio, Programmable Voice, Say: Settings for voice, language, and loop are ignored

306 Views Asked by At

Until April 5th, 2022, the following twiml.html, as a part of a Google Apps Script web app, worked fine:

<Response>
     <Say voice="alice" language="pl-PL" loop="2"><?=msg?></Say>
</Response>

However, since said date, the message text is read by a male voice as per the pronounciation rules of American English (Man, en-US), and only once (loop="1"). The Call SID log shows no error and even states that voice="alice" language="pl-PL" and loop="2" have been applied.

I already contacted the Twilio support but they still have not fixed the issue. As far as I conclude from the call logs, the Twilio support do not even have given a call to the phone number in order to get their own impression.

Who else experienced anything like that with Twilio programmable voice? Are there any suggestions, workarounds, or solutions?

Thank you in advance.

1

There are 1 best solutions below

8
On

Check using a tool like postman that the returned MIME type is text/xml. For more details, visit this link.

Twilio Understands MIME Types https://www.twilio.com/docs/voice/twiml#twilio-understands-mime-types