简体   繁体   English

Nexmo API:是否有任何方法或API可以取消Nexmo中正在进行的出站或入站呼叫?

[英]Nexmo API: Is there any method or API to cancel ongoing outbound or inbound call in Nexmo?

I want to disconnect an ongoing call from my server based on some circumstances. 我想根据某些情况从服务器断开正在进行的呼叫。 Is there any Nexmo API through which I can do the same? 是否可以通过Nexmo API进行相同操作?

Got answer to my query. 得到了我的查询的答案。 Bit of more searching and study found my answer. 更多的搜索和研究找到了我的答案。

I can modify in-progress call by making a PUT call to below URL. 我可以通过以下网址的PUT调用来修改正在进行的调用。

https://api.nexmo.com/v1/calls/:uuid https://api.nexmo.com/v1/calls/:uuid

where UUID is uuid of call. 其中UUID是调用的uuid。 have to give action = 'hangup' 必须采取行动=“挂断”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM