Twilio 通话应用话费扣除 [英] Twilio calling app bill deduction

查看:38
本文介绍了Twilio 通话应用话费扣除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在制作三种调用 Android 应用程序的方式 - 两个参与者是应用程序用户,第三个是使用 TWILIO 的任何电话号码.我们已经实现了通话功能,我们的电话正在接通,但问题是我们需要在服务器端知道谁是发起呼叫的用户,以便我们可以从该人那里扣除账单.其次,我们如何在每个特定时间间隔(例如三分钟)后扣除账单.请任何指南/算法表示赞赏.

We are making three way calling android app - two participants are app user and third one is any phone number using TWILIO. We have implemented call feature , our call is being connected but question is We need to know on server end that who is the user who have started the call so that we can deduct bill from that person. AND secondly how can we deduct the bill after every specific time interval say three minute. Please any guideline / algorithm is appreciated.

P.S 我们使用 Stripe 作为支付网关,使用 twilio 进行呼叫.

P.S We are using stripe as a payment gateway and twilio for calling.

推荐答案

我正在回答我的问题,以便任何人都可以得到帮助.我通过电子邮件联系了 twilio 支持并得到了以下回复:

I am answering my question so that any one can get help with it. I contacted to twilio support by email and getting following response:

您可以通过检查会议中每个呼叫的时间戳来确定谁发起了呼叫.StartTime 较早的人是开始通话的人.

You can determine who started the call by checking the timestamps for each call in the conference. The one with the earlier StartTime is the one who started the call.

我们没有任何指导方针或算法来按特定时间间隔从您客户的帐单中扣除费用.

We don't have any guidelines or algorithms for deducting from your customer's bill at specific intervals.

这篇关于Twilio 通话应用话费扣除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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