如何为入站呼叫显示我的 Twilio 号码 [英] How can I display my Twilio number for inbound calls

查看:25
本文介绍了如何为入站呼叫显示我的 Twilio 号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过这条线路接听电话时,我想在我的来电显示上显示我的 Twilio 线路,就像 Google 语音那样.有谁知道这是否可能,如果可能,如何?

I want to display my Twilio line on my caller ID when I receive calls through this line, like Google Voice does. Does anyone know if this is possible and if so, how?

谢谢!

推荐答案

Twilio 布道者在这里.

Twilio evangelist here.

当您编写 TwiML 以拨打号码时,您可以更改 TwiML 标记中的 callerId 属性.请参阅此处的文档.来电显示号码必须是您事先通过 Twilio 验证过的号码.您可以在您的帐户门户网站此处验证号码.

When you write the TwiML to place a call to a number, you can change the callerId attribute in the <Dial> TwiML tag. See the documentation here. The caller ID number has to be one you have verified with Twilio beforehand. You can verify numbers on your account portal here.

以下是更改来电显示所需的 TwiML 示例:

Here is an example of the TwiML you would need to write to change the caller ID:

<Response>
    <Dial callerId='+111111111111'>
        <Number>+122222222222</Number>
    </Dial>
</Response>

号码 +111111111111 应替换为您希望在您正在振铃的电话上显示的来电显示.希望能帮到你!

The number +111111111111 should be replaced with the callerId you want to appear on the phone you are ringing. I hope that helps!

这篇关于如何为入站呼叫显示我的 Twilio 号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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