浏览器与免费帐户的浏览器通话按任意键继续? [英] Browser to browser calls with free account press any key to continue?

查看:39
本文介绍了浏览器与免费帐户的浏览器通话按任意键继续?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 快速入门教程试用 twilio.我正在做浏览器到浏览器的调用.我遵循了教程.当我尝试拨打电话时,它会响铃并接通.然后播放免费帐户"消息并要求我按任意键继续.当我按下某个键时,它会在几秒钟内什么都不做,然后挂断电话,而不会转到其他浏览器.

发生这种情况是因为我使用的是免费帐户还是我需要做其他事情才能从浏览器注册按键?

解决方案

Twilio 布道者在这里.

我可以看到这可能令人困惑的地方及其良好的反馈.按任意键的提示显然是假设您正在从实际电话中拨打电话,其中包括一个可让您按任意键的键盘.显然,对于简单的 Twilio 客户端应用程序,默认情况下没有数字键盘可按,但 JavaScript SDK 确实包含 sendDigits 函数,这使得在您的应用程序中连接一个按钮(或其他一些 UI)以向 Twilio 发送等效的按键(也称为 DTMF 音调)变得非常简单.>

希望有所帮助.

I am trying out twilio using the quick start tutorial. I am doing browser to browser calls. I have followed the tutorial. When I try to make a call it rings and connects. It then plays the "free account" message and asks me to press any key to continue. When I press a key it does nothing for a few seconds and then hangs up without going through to the other browser.

Is this happening because I am on a free account or is there something else I need to do in order for it to register the key press from the browser?

解决方案

Twilio evangelist here.

I can see where this might be confusing and its good feedback. The prompt to press any key is apparently making the assumption that you are calling from an actual phone, which would include a keypad that lets you press any key. Obviously with a simple Twilio Client app there isn't by default a number pad to press, but the JavaScript SDK does include the sendDigits function, which makes it pretty trivial to wire up a button (or some other UI) in your app to send the equivalent of a key press (aka a DTMF tone) to Twilio.

Hope that helps.

这篇关于浏览器与免费帐户的浏览器通话按任意键继续?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆