python-3.x - 特威利奥。Python。分析通话状态
问题描述
我正在使用这样的简单鳕鱼:
import os
from twilio.rest import Client
account_sid = os.environ['TWILIO_ACCOUNT_SID']
auth_token = os.environ['TWILIO_AUTH_TOKEN']
client = Client(account_sid, auth_token)
call = client.calls.create(
url='http://demo.twilio.com/docs/voice.xml',
to='+14155551212',
from_='+15017122661'
)
print(call.sid)
并且没有接听,但在日志中任何呼叫的状态都是“已完成”。
我想分析一下,如果有人没有接听我需要回电,但没有实际状态。
解决方案
推荐阅读
- c# - 在函数 npgsql postgres 中登录
- android - CameraAccessException 启动相机会话时管道损坏
- ios - 此设备不支持提供的配置
- sql-server - SQL Server 存储过程未正确执行
- c++ - CMake 包支持 - 未找到包含和库
- next.js - Auth0 和 Next.js 部署到 Vercel:位置标头错误
- reactjs - 无状态组件中的功能不起作用
- javascript - React 在循环内渲染循环
- r - id问题的滞后差异
- c# - 是否可以编写一个函数 pow(T number,T exponent),T 是 C# 中的数字类型?