在 Twilio 通话记录中显示未接来电 [英] Displaying Missed Calls In Twilio Call log

查看:27
本文介绍了在 Twilio 通话记录中显示未接来电的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在我的一个应用程序中使用 Twilio SDK 实现语音呼叫功能.我不知道如何在 Twilio 中获取未接来电记录.

I am implementing voice call feature using Twilio SDK in one of my application. I don't know how can I get the missed call logs in Twilio.

我正在用手机拨打 Twilio 号码.客户一开始响铃,我就断开了与手机的通话,并希望在通话记录中将其显示为未接来电.

I am calling from my mobile to Twilio number. As soon as the client started ringing I have disconnected the call from my mobile and wanted to show that as Missed call in my call logs.

这里我遇到的问题是当我想显示未接来电"时它不工作.我看到了通话状态,但似乎几乎每个通话都被标记为已完成";如何在 Twilio 通话记录中接听未接来电

here the issue I am having is when I want to display the "missed call" it's not working. I see the call statuses but it seems like almost every call is being marked as "completed" How can I get missed calls in Twilio call log

如果有人这样做过,请帮忙.

Please help if anyone had done this.

推荐答案

当你dile添加两个参数

'action'=>  "www:yourwebsite.com/your/url"
'method' => "GET"

这将向 "www:yourwebsite.com/your/url"

 if ($request->DialCallStatus == 'no-answer')
 {
      Call status = "You Missed a call from" . $request->number;
 }

这篇关于在 Twilio 通话记录中显示未接来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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