How to make phone call from custom alexa skill

对着背影说爱祢 提交于 2019-12-06 01:15:32

问题


My intent to call the specified phone number from my own skill.

For example

Me: Alexa, ask <invocation> to find the customer service number

Alexa: Sure, the customer service number is 1800-xxx-xxx-xxx. Would you like to call

Me: Yes

[HOW TO MAKE CALL NOW?]


回答1:


It would be possible to open a phone call from your programmed skill (alexa skill service). But for sure you not just want to start the call but also that the user can speak into alexa? But it's not possible to get the voice from the user.

Amazon Alexa transfers the speech input into text. Your skill service only get JSON requests from the amazon skill interface with intents and spoken things as text.

So there is no chance to the get the audio track from the alexa user. Also stated in the forum

  • There is a feature request - you should watch this feature and vote for it.
  • Or you implement something like a callbackservice that you interconnect users telephone to service customer number. E.g. via an app on the phone - see this



回答2:


You can make a call using your echo device or using the Alexa app as long as contact is in your list using Alexa Calling. Calling is only supported in U.S., U.K., Canada, and Mexico.

Here is another link to help you setup

https://au.pcmag.com/gallery/60053/how-to-call-someone-from-your-amazon-echo



来源:https://stackoverflow.com/questions/45599884/how-to-make-phone-call-from-custom-alexa-skill

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!