如何知道外呼的状态? [英] How to know the status of outbound calls?

查看:62
本文介绍了如何知道外呼的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拨打了一个出站电话,即我向 twilio 发出请求,以使用 twilio api 拨打一个号码.如何知道一个人是接听还是拒绝了电话?什么是状态回调网址?..我没有网址.

I make a outbound call i.e I make a request to twilio to make a call to a number using twilio api. How to know if a person has picked up or rejected the call?. What is statuscallback url?..I dont have a url.

推荐答案

Twilio 开发人员布道者在这里.

Twilio developer evangelist here.

当您拨打出站电话时,您可以通过设置 statusCallback 参数到一个 URL.当调用更改状态时,Twilio 将向 URL 发送 HTTP 请求,其中包含调用的详细信息及其当前状态.

When you make an outbound call you can register to receive status updates by setting the statusCallback parameter to a URL. When the call changes status, Twilio will send an HTTP request to the URL with details of the call and its current status.

要了解更多相关信息,我建议关注本教程.它包括 SMS 消息的送达通知,但过程与呼叫完全相同.

To learn more about this, I recommend following this tutorial. It covers delivery notifications for SMS messages, but the process is exactly the same for calls.

这篇关于如何知道外呼的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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