Reputation: 985
I’m having some RingOut API trouble. Everything was working out just fine but suddenly about a week ago one of the users claimed that the RingOut functionality was broken and from what I see she is correct. For the life of me I can’t figure out what the problem is. Below is what my request looks like. After polling the call the api errors out claiming that one or two lines is busy when I know for a fact they are not. Any ideas or direction on this would be greatly appreciated
Post Variables:
{"from":{"phoneNumber":"+17606992007","forwardingNumberId":""},"to":{"phoneNumber":"+17602146463"},"callerId":{"phoneNumber":"+17604440557"},"playPrompt":false,"country":{"id":"1”}}
Result:
{
"uri" : "https://platform.ringcentral.com/restapi/v1.0/account/279578017/extension/279580017/ring-out/Y3MxNjg2OTU1NTIyNzE2MzY4NDQyQDEwLjE0LjIzLjA",
"id" : "Y3MxNjg2OTU1NTIyNzE2MzY4NDQyQDEwLjE0LjIzLjA",
"status" : {
"callStatus" : "InProgress",
"callerStatus" : "InProgress",
"calleeStatus" : "InProgress"
}
}
Result from polling the call:
{
"uri" : "https://platform.ringcentral.com/restapi/v1.0/account/279578017/extension/279580017/ring-out/Y3MxNjg2OTU1OTgxNjMyMzY1NjYwQDEwLjE0LjIzLjQ2",
"id" : "Y3MxNjg2OTU1OTgxNjMyMzY1NjYwQDEwLjE0LjIzLjQ2",
"status" : {
"callStatus" : "CannotReach",
"callerStatus" : "Busy",
"calleeStatus" : "InProgress"
}
}
Upvotes: 0
Views: 248
Reputation: 11
I know it sound strange but i had the same error on my app, Removing the +1 from the number fixed the issue for me.
Hope that helps!
Upvotes: 1