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