从普通电话拨打时如何自动将分机号传递给 Twilio 号码? [英] How to pass extension automatically to a Twilio number when called from a regular phone?

查看:31
本文介绍了从普通电话拨打时如何自动将分机号传递给 Twilio 号码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个付费的 Twilio 帐户.例如,对于荷兰,我们有一个唯一号码,用户可以通过手机拨打该号码.这一切都可以.

We have a payed Twilio account. For example, for the Netherlands, we have a unique number, which users can call from their phone. This is all ok.

现在,我们想扩展我们的服务,并为该单个 (Twilio) 电话号码添加/附加许多扩展.对于每个分机,我们希望分配(转发到)我们代理的真实电话号码(对于统计和付款原因也很重要).举个例子:

Now, we would like to extend our services, and add/attach many extensions to that single (Twilio) phone number. For every extension, we want to assign (forward to) a real phone number of our agents (also important for statistical and payment reasons). So as an example:

客户在手机上浏览我们的页面,他想获取有关服务的信息,点击代理名称,然后会进行常规呼叫.接到电话后,Twilio 会识别分机号码,并自动连接该座席(拨打他的电话号码).

Client browses our page on a mobile phone, he wants to get information about a service, tap on an agent name, and a regular call takes place. Once received the call, Twilio recognizes the extension number, and automatically connects that agent (call his phone number).

逻辑应该使用 TwiML/PHP 组合来完成.实际问题是这样的:如何将扩展传入/使用常规调用?已经尝试使用散列 (#) 和 (,) 等创建 tel: 链接,以包含扩展名,但无济于事.点击链接后,只会传递电话号码(至少在 Android 上).这甚至可能吗?

The logic should be done with TwiML/PHP combo. The actual problem is this: how to pass the extension into/with the regular call? Already tried to make a tel: link with hash (#) and (,) and others, to include the extension, to no avail. Once the link is tapped, only the phone number is passed (at least on Android). Is this even possible?

另外,非常重要的是,扩展应该对客户透明,因为他们在点击代理后不应该有任何交互(所以不要选择 - 从预定义的菜单中输入数字 - 因为会有几十个,也许数百个扩展(因此是代理),无论如何这都不是一个实用的解决方案.

Also, very important, the extension should be transparent to the clients, as in they should not have any interaction after tapping on the agent (so not choosing - entering digits, from a predefined menu - since there will be tens, maybe hundreds of extensions (so agents), it wouldn't be a practical solution anyway).

通过点击通话"示例,我设法解决了这个问题,但它是基于应用/浏览器的,我们也需要支持常规通话.

With the "Click-to-call" example I've managed to solve that problem, but it's app/browser based, and we need to support regular calls as well.

任何方向/提示都非常受欢迎.

Any direction/hint is very welcome.

推荐答案

我相信你的情况,你要么需要做入站来电显示检测和 根据需要路由呼叫,或者根据需要使用单独的号码.

I believe in your case, you would either need to do inbound caller id detection and route the call as needed or have individual numbers that just forward on as needed.

如果可以进行用户干预,那么我建议使用 IVR,但我知道这不是您想要完成的.

If it were possible for user intervention then I would suggest an IVR, but I understand that is not what you are trying to accomplish.

这篇关于从普通电话拨打时如何自动将分机号传递给 Twilio 号码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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