Twilio-外拨电话-播放DTMF音 [英] Twilio - Outgoing call - play DTMF tones

查看:115
本文介绍了Twilio-外拨电话-播放DTMF音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在基于Twilio的应用程序中,我通过Twilio rest API创建了传出呼叫.

In my Twilio-base application I create outgoing call via Twilio rest API.

当目标方做出响应时,我让他参加了最近创建的会议.

When target side responds, I put him to recently created conference.

问题是:在让他参加会议之前,我该如何播放某些DTMF音调?

Question is: how can I play certain set of DTMF tones before putting him to conference?

响应方是某种接受DTMF音调的系统,我需要播放一些数字.

The responding side is a certain system which accepts DTMF tones, and I need to play some set of digits.

我已经阅读了文档,但是没有找到方法.

I have read the docs but I did not find way to do this.

有可能吗?

推荐答案

此处是Twilio的传播者.

Twilio evangelist here.

根据您的情况,有两种不同的实现方法.

There are two different ways to do this depending on your situation.

一种选择是在制作您的广告时使用 sendDigits 参数出站电话.指定sendDigits会告诉Twilio在您的出站呼叫连接后拨打一组DTMF音调. 这是一个包含sendDigits参数的示例.

One option is to use the sendDigits parameter when making your outbound phone call. Specifying sendDigits tells Twilio to dial a set of DTMF tones once your outbound call has connected. This is an example that includes the sendDigits parameter.

另一种选择是使用<Play>动词,该动词包含名为 digits 让您告诉Twilio它应该播放一组DTMF音调. 这是使用< Play>带有digits参数.

Another option is to use the <Play> verb includes a parameter named digits which lets you tell Twilio it should play a set of DTMF tones. This is an example of using <Play> with the digits parameter.

希望有帮助.

这篇关于Twilio-外拨电话-播放DTMF音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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