使用 Twilio 的网站回调服务 [英] Callback service on the website using Twilio
问题描述
假设我需要在网站上实现回调服务.我很好奇是否可以使用 Twilio 开发它.
Let's say I need to implement a callback service on a website. I'm curious if it's possible to develop it using Twilio.
例如,如果网站访问者从一侧提供他的手机号码,那么从另一侧我有一位经理使用他的网络 CRM 应用程序.是否可以:
For example, if a website visitor provides his mobile phone number from one side, from another side I have a manager using his web CRM application. Is it possible to:
- 给经理打电话(使用 WebRTC?)
- 当经理回复来电时,呼叫网站访问者(在他的手机上)
- 将双方联系在一起
我知道有很多现成的回调服务,我只是好奇它是如何工作的.
I know there are lots of ready-to-use callback services, I'm just curious how it works under the hood.
推荐答案
Twilio 开发人员布道者在这里.
Twilio developer evangelist here.
这是一项我们称之为点击通话的功能.以下是它如何与 Twilio 配合使用:
This is a feature we call Click to Call. Here's how it would work with Twilio:
- 访问者通过网站上的表格提供他的电话号码
- 使用 Twilio REST API 生成对经理的调用
- 当呼叫连接到经理时,拨打访客.
这是它的高级视图,我们还有一个教程引导您使用 Twilio 进行点击通话(这是 Python 版本,但也有其他版本),我建议您看一看.
This is a high level view of it, we also have a tutorial walking you through Click to Call with Twilio (this is the Python version, but there are others available too) which I recommend you take a look at.
告诉我这是否有帮助.
这篇关于使用 Twilio 的网站回调服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!