Hello I have a question about the call forwarding API, my current setup is
Main Number (Mask Number) -> Forwards to Huntgroup (huntgroup contains 4 numbers)
I want to forward the Main Number to an external number through the API by replacing the first Forwarding Number to the external number I want to forward to but I am getting the following error when I try to remove or update that number:
RingCentral\SDK\Http\ApiException: Device number cannot be deleted from the forwarding number list
It works on my Sandbox mode, forwards correctly, but when I change it to the Production mode it gives me the error above.
Any suggestions would be appreciated, thanks!
Can you revise your question? I have no idea what you want to achieve, or what is the exact problem.
I have 5 phone lines with Ringcentral. 1 line is a masked number where clients call in, this number gets transferred to my other 4 lines (whichever is not busy), I believe it's called the Call Queue Group.
I want to be able to transfer the masked line to an external number. I was able to achieve this in sandbox mode by deleting the forwarding number and creating a new one with these:
https://developers.ringcentral.com/api-reference/Call-Forwarding/deleteForwardingNumber
https://developers.ringcentral.com/api-reference/Call-Forwarding/createForwardingNumber
But once I tried it in Production, it gives me the error:
RingCentral\SDK\Http\ApiException: Device number cannot be deleted from the forwarding number list
I also tried to update the forwarding number (which currently points to the primary number of the 4 lines) but also fails.
So pretty much,
Sandbox:
Masked Line -> Delete Forwarding Number (Success) -> Create Forwarding External Number (Success) -> Calls Being Forwarded
Production:
Masked Line -> Delete Forwarding Number (Fail)
Masked Line -> Update Forwarding Number (Fail)
Can you print out the error messages? And also the app client id
Delete API
403: Forbidden
{
"errorCode":
"FPN-107"
"message":
"Device number cannot be deleted from the forwarding number list"
"errors":[0:{"errorCode":
"FPN-107"
"message":
"Device number cannot be deleted from the forwarding number list"
}]}
client id: I6FGDvCzQRuGRR6wBerh3w
Sorry for the long delay. Got stuck at other tasks.
So the problem is that you can only use those APIs to manage (delete and update) forwarding numbers, NOT forwarding to other's phones (see attached image)
The behavior is the same for sandbox and production accounts.
I will update if and when I have a solution to this problem.
I have 5 phone lines with Ringcentral. 1 line is a masked number where clients call in, this number gets transferred to my other 4 lines (whichever is not busy), I believe it's called the Call Queue Group.
I want to be able to transfer the masked line to an external number. I was able to achieve this in sandbox mode by deleting the forwarding number and creating a new one with these:
https://developers.ringcentral.com/api-reference/Call-Forwarding/deleteForwardingNumber
https://developers.ringcentral.com/api-reference/Call-Forwarding/createForwardingNumber
But once I tried it in Production, it gives me the error:
RingCentral\SDK\Http\ApiException: Device number cannot be deleted from the forwarding number list
I also tried to update the forwarding number (which currently points to the primary number of the 4 lines) but also fails.
So pretty much,
Sandbox:
Masked Line -> Delete Forwarding Number (Success) -> Create Forwarding External Number (Success) -> Calls Being Forwarded
Production:
Masked Line -> Delete Forwarding Number (Fail)
Masked Line -> Update Forwarding Number (Fail)
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder