[英]Twilio call phone number masking
We need to connect two customers using voice - but we need to hide customer phone number from each other. 我们需要使用语音连接两个客户 - 但我们需要隐藏彼此的客户电话号码。 We decide to use next approach - masked phone numbers by twilio
我们决定使用下一个方法 - twilio掩盖的电话号码
Question is: 问题是:
Not related but why there is no possibility to buy Ukrainian phone number. 没有关系,但为什么没有可能购买乌克兰电话号码。
Thanks a lot in advance for any help. 非常感谢您提供任何帮助。
Let me first answer your specific questions below : 我先回答您的具体问题如下:
Twilio numbers can be called as often as you wish while there is already an ongoing call in place. 可以根据需要随时调用Twilio号码,同时已经有正在进行的呼叫。 In other words Twilio should never play a fast busy if not explicitly programmed by you .
换句话说,如果你没有明确编程,Twilio永远不应该快速忙碌。
N/A since its not busy . N / A因为不忙。
Coming back to your use case , there are multiple companies who have built Masked Numbers Use case on Twilio and there are multiple strategies that one could use to optimise the number of phone-numbers to use and for association ( permanent or temporary ) of phone numbers to a consumer-producer relation . 回到您的用例,有多家公司在Twilio上构建了Masked Numbers用例,并且有多种策略可用于优化要使用的电话号码数量以及电话号码的关联(永久或临时)消费者 - 生产者关系。 I would recommend having a look at
我建议看看
PS: Since this question was not about strategies for implementation , I have put more details . PS: 由于这个问题不是关于实施的策略,我已经提出了更多细节。
Update for OP's question in the comment below 在下面的评论中更新OP的问题
Example : 示例:
producer twilio-masking-number consumer
aaa xxx bbb
ccc xxx ddd
Above is an example association that you might store. 以上是您可能存储的示例关联。 In TwiML response for incoming call , check the incoming number .
在来电的TwiML响应中,检查来电号码。 If it is aaa , then destination is bbb , return a TwiML like the one below
如果它是aaa,那么destination是bbb,返回如下所示的TwiML
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial callerId="+xxx">
<Number>+bbb</Number>
</Dial>
</Response>
If the incoming number is is bbb , then destination is aaa , return a TwiML like the one below 如果传入的数字是bbb,那么destination是aaa,返回如下所示的TwiML
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial callerId="+xxx">
<Number>+aaa</Number>
</Dial>
</Response>
This way the callerID for all interactions between aaa and bbb will be 'xxx' , hence masking the original phone numbers . 这样,aaa和bbb之间所有交互的callerID将为“xxx”,从而屏蔽原始电话号码。
Here's a high level flow diagram 这是一个高级流程图
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.