Twilio:我可以拨打外线电话会议吗? [英] Twilio: Can I make OUTBOUND Conference Calls?

查看:41
本文介绍了Twilio:我可以拨打外线电话会议吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Twilio 标记语言清楚地定义了如何将传入呼叫加入公共会议室.

The Twilio markup language clearly defines how INCOMING calls can be joined to a common conference room.

但我想同时拨打多个电话并加入这些电话.如果我在标记语言中使用拨号"动词,我会收到多个连续调用,但我希望它们并行.

But I want to dial several calls simultaneously and join those. If I use the "dial" verb within the markup language, I get several consecutive calls, but I'd like them in parallel.

我的应用程序的基本操作是接收会议负责人的电话,并主动连接会议各方.

The basic operation of my application is to receive a call from the conference leader and actively connect all parties to the conference.

推荐答案

Twilio Developer Evangelist here.

Twilio Developer Evangelist here.

使用 REST API 而不是使用 TwiML 动词很容易实现这一点dial 呼叫每位与会者.首先,您将会议主持人放入会议室:

This is very easy to achieve using the REST API instead of using the TwiML verb dial to call each attendee. First of all, you put the conference leader into the conference room:

<Response>
  <Dial>
    <Conference>my room</Conference>
  </Dial>
<Response>

(请注意,您可能需要保持音乐或其他说明等.)

(Note that you may want hold music, or other instructions etc..)

接下来,您使用 REST API 并拨入其他参与者.有一个快速入门可以帮助您处理出站呼叫,这个是用 PHP 编写的 但是您可以根据需要使用页面上的语言切换器.然后您可以使用上述 TwiML 的 URL 将这些呼叫连接到同一个会议室.您也可以使用其他 TwiML 文档,这里的重要因素是 Conference 房间名称匹配.然后每个人都会在同一个电话中.

Next, you use the REST API and dial in the other participants. There is a quick start to help you get going with outbound calls, this one is in PHP but you can use the language switcher on the page for whatever your need. Then you can just use the URL for the above TwiML to connect those calls to the same conference room. You can also use other TwiML documents, the important factor here is that Conference room name matches. Then everyone will be on the same call.

帮助程序库可用于 Ruby、PHP、Python、C#、Java 和 Node 以提供帮助使用 REST API.

Helper libraries are available in Ruby, PHP, Python, C#, Java and Node to help you with the REST API.

希望对您有所帮助!

这篇关于Twilio:我可以拨打外线电话会议吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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