News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Call forwarding does not work in DEV account?
Tags: rest api
May 27, 2020 at 7:13pm   •   3 replies  •  0 likes
Oleg Shuruev

Hi,


I am evaluating some basic setup in a free dev account and cannot get call forwarding working. Could you please assist, maybe there are some limitations which prevent me from doing this?


My free dev account is 936-256-3131. I have a sandbox app where Main Company Number is 929-474-6838 (and I can browse it using https://service.devtest.ringcentral.com).

In that company I have four users with extensions 101 (super admin), 102, 103 and 104. Every extension has a softphone assigned to it, and I can call all of them just fine.

However, when I set up 101 to forward calls to 104 the call forwarding does not seem to work. Whenever I call 101’s softphone number – it goes to 101 voicemail right away (at the moment the forwarding should happen). Like if it tried to forward, but could not. If I cancel the forwarding and call 101’s softphone it rings for 15-30 seconds, then goes it voicemail (which is expected). If I call 104’s softphone it behaves the same.


Please let me know if any other information is required.

Thank you!

2 Answers
answered on May 28, 2020 at 10:50am  

Shared UI setup in the comment above.


When I call (470) 440-9438 and try forwarding this call to (470) 481-8916 using API, then the caller hears "I'm sorry your call could not be connected".


API request:

POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/telephony/sessions/s-7fb254380a884f62a51b1c04b343c8b3/parties/p-7fb254380a884f62a51b1c04b343c8b3-2/forward
{
    "phoneNumber": "+14704818916"
}

API response:

{
    "id": "p-7fb254380a884f62a51b1c04b343c8b3-2",
    "status": {
        "code": "Disconnected",
        "reason": "BlindTransfer"
    },
    "muted": false,
    "standAlone": false,
    "from": {
        "phoneNumber": "+19492354715"
    },
    "to": {
        "phoneNumber": "+14704409438",
        "name": "Oleg Shuruev",
        "extensionId": "275915004"
    },
    "owner": {
        "accountId": "275915004",
        "extensionId": "275915004"
    },
    "direction": "Inbound"
}

+19492354715 is my number. +14704818916 is the number I am trying to forward to, not sure if what I'm getting is the expected response.


@Phong Vu would much appreciate if you kindly could look closer and provide any assistance with that. Thank you so much!


 0
answered on May 28, 2020 at 10:44am  

Shared UI setup in the comment above.


When I call (470) 440-9438 and try forwarding this call to (470) 481-8916 using API, then the caller hears "I'm sorry your call could not be connected".

API request:

POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/telephony/sessions/s-7fb254380a884f62a51b1c04b343c8b3/parties/p-7fb254380a884f62a51b1c04b343c8b3-2/forward
{
    "phoneNumber": "+14704818916"
}

API response:

{
    "id": "p-7fb254380a884f62a51b1c04b343c8b3-2",
    "status": {
        "code": "Disconnected",
        "reason": "BlindTransfer"
    },
    "muted": false,
    "standAlone": false,
    "from": {
        "phoneNumber": "+19492354715"
    },
    "to": {
        "phoneNumber": "+14704409438",
        "name": "Oleg Shuruev",
        "extensionId": "275915004"
    },
    "owner": {
        "accountId": "275915004",
        "extensionId": "275915004"
    },
    "direction": "Inbound"
}

+19492354715 is my number. +14704818916 is the number I am trying to forward to, not sure if what I'm getting is the expected response.


@Phong Vu would much appreciate if you kindly could look closer and provide any assistance with that. Thank you so much!


 0
answered on May 27, 2020 at 8:29pm  

Please share part of your code where you implemented the forwarding. If that is not handled from your code, then is it a call forwarding rules settings and explain how you set it up.


 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us