I'm trying to forward a call out of a queue. The call forwarding application works in several ringCentral accounts except for the main customer it was built for.... it works in sandbox and production environments except one.
My app has the Call Control permission, the call state is still in Setup when the forward is sent with the proper payload of extensionNumber.
RingCentral returns operation not allowed / forbidden
Forbidden error happens when the call is in an Answered state but I can't find a reason for the failure.
body={"errors"=>[{"errorCode"=>"TAS-106", "message"=>"Operation is not allowed"}]}
response_headers={"server"=>"nginx", "date"=>"Wed, 26 Jan 2022 05:05:37 GMT", "content-type"=>"application/json", "content-length"=>"123", "connection"=>"close", "x-rate-limit-group"=>"light", "x-rate-limit-limit"=>"50", "x-rate-limit-remaining"=>"49", "x-rate-limit-window"=>"60", "routingkey"=>"SJC01P13", "rcrequestid"=>"99381BLAH6"} @status=403 @reason_phrase="Forbidden"
The one thing I see that stands out is that for this customer queues the calls quickly move from the Setup state to the Proceeding state. Even if we don't send the forward API message, the call still goes into a proceeding state. For some reason this only happens on one environment.
Any help at all would be greatly appreciated.
Zak