zaf / asterisk-mstts

Asterisk AGI script that makes use of Microsoft Azure Cognitive Services for text to speech synthesis
GNU General Public License v2.0
19 stars 18 forks source link

New Azure authentication logic #5

Open lcontursi opened 7 years ago

lcontursi commented 7 years ago

We received the following notice: "Microsoft Translator Text and Speech Translation APIs are now available in the Azure portal under the Cognitive Services category. Existing applications using Microsoft Translator need to be changed before April 30, 2017." Does the script support the new Azure authentication logic?

VhatAmI commented 7 years ago

@lcontursi you can use the bing api branch: https://github.com/zaf/asterisk-mstts/tree/bing-api

Note: There is a 1000 character limit to the text sent to this API.

There is also googletts here : https://github.com/zaf/asterisk-googletts, have not tested that one

lcontursi commented 7 years ago

Thanks for your prompt reply and your hard work on this useful script. We had moved to mstts to have something more stable and with a clear pricing if needed. Do you think that the googletts version is still to prefer?

VhatAmI commented 7 years ago

@lcontursi not the creator hahaha just someone that had the same problem as you a month or so back.

Perhaps you can help me with an issue we are having: https://stackoverflow.com/questions/44162541/asterisk-hangs-up-if-caller-inputs-number-early

No worries if not, been staring at that line of code for quite some time. Pretty much a complete asterisk noob here =)