0

我遇到了一些 RingOut API 问题。一切正常,但大约一周前突然有一位用户声称 RingOut 功能已损坏,据我所知,她是正确的。对于我的生活,我无法弄清楚问题是什么。下面是我的请求的样子。在轮询调用后,当我知道事实并非如此时,api 错误声称一两条线路正忙。对此的任何想法或方向将不胜感激

请求 URI: https ://platform.ringcentral.com/restapi/v1.0/account/279578017/extension/279580017/ring-out/Y3MxNjg2OTU1OTIyMDIwMzQ1NDI5QDEwLjE0LjIzLjQw

发布变量:

{"from":{"phoneNumber":"+17606992007","forwardingNumberId":""},"to":{"phoneNumber":"+17602146463"},"callerId":{"phoneNumber":"+17604440557"},"playPrompt":false,"country":{"id":"1”}}

结果:

{
  "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/279578017/extension/279580017/ring-out/Y3MxNjg2OTU1NTIyNzE2MzY4NDQyQDEwLjE0LjIzLjA",
  "id" : "Y3MxNjg2OTU1NTIyNzE2MzY4NDQyQDEwLjE0LjIzLjA",
  "status" : {
    "callStatus" : "InProgress",
    "callerStatus" : "InProgress",
    "calleeStatus" : "InProgress"
  }
}

轮询调用的结果:

{
  "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/279578017/extension/279580017/ring-out/Y3MxNjg2OTU1OTgxNjMyMzY1NjYwQDEwLjE0LjIzLjQ2",
  "id" : "Y3MxNjg2OTU1OTgxNjMyMzY1NjYwQDEwLjE0LjIzLjQ2",
  "status" : {
    "callStatus" : "CannotReach",
    "callerStatus" : "Busy",
    "calleeStatus" : "InProgress"
  }
}
4

1 回答 1

1

我知道这听起来很奇怪,但我的应用程序出现了同样的错误,从号码中删除 +1 为我解决了这个问题。

希望有帮助!

于 2019-10-21T14:11:06.377 回答