question

bill-love avatar image
bill-love asked ·

RingOut problem

We developed all features with RingOut API in sandbox for our web application. Yesterday it worked perfectly.Today strange things happened. When made call, somehow the "to" phone became first leg and "from" phone the second leg. The response after RingOut request was as something like 
{
                 
"id": "Y3MxNjk2MTIzOTgyNDMyMTUyMDlAMTAuMjguMjAuMTEw",
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/ringout/Y3MxNjk2MTIzOTgyNDMyMTUyMDlAMTAuMjguMjAuMTEw",
"status": {
"callStatus": "Invalid",
"callerStatus": "Invalid",
"calleeStatus": "Invalid"
}
}Can someone let me know what went wrong?
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered ·
Does your RingOut set the 'playPrompt' property to 'true'?

If it's true, the 'to' should be dialed first and the user should be prompted to press '1' to connect the call.

If not, both legs can happen at the same time.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

vb avatar image
vb answered ·
@BillLove,  Can you provide us with the full API Request ? 
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

tyler-tullock avatar image
tyler-tullock answered ·
Ours is now NOT working as well after working well for many years
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

tyler-tullock avatar image
tyler-tullock answered ·
Please help!
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered ·
Bill and Tyler,

Vyshakh and I have both tried to reproduce this unsuccessfully so far.

Please create a support ticket using the methods below so we can get specific call information from you for our team to track this down.

Create a support ticket by

1) filling out a web form using the link at the bottom of this page:

https://developer.ringcentral.com/support.html

2) sending an email to

devsupport@ringcentral.com

Thanks,
John
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

tyler-tullock avatar image
tyler-tullock answered ·
So I just spent an hour with tech support.  It seems to be that a recent change at Ringcentral has FLIPPED the To and From fields.  Have been using the URL as per this page:  https://service.ringcentral.com/ringoutapi/

2. Call

Used to be that for us to call a customer we would put the customer's phone number in the TO parameter and the ringcentral number we wanted the call to connect to (which of our employee's desk phones) in the FROM field.  Now it works in the reverse of that.  But after reversing those fields in the URL I am sending it works as expected. Very very strange that those two fields were flipped without telling customers.

Anyway.  Great support as usual on the phone.

Tyler

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

alber avatar image
alber answered ·
Hi Tyler is this from the mobile app or the desktop soft phone app that youre referring to ? I wish we could chose to call from any number prior to making a call. Current the apps whether mobile or desktop only allow you to have a default call out number. So when you call out you only call from that number but sometimes I have customers from different states or areas and Id like to call out from different areas. I know when we manually dial out we can pick a number to call from but I was referring to when we select a contact in the contact part of the app and just call out, it calls out from the default number on the application.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

tyler-tullock avatar image
tyler-tullock answered ·
I am just constructing a URL and opening that URL with my custom CRM software.  The URL looks like this and you can call and call from any number...  

https://service.ringcentral.com/ringoutapi/

Look at the sample URL at bottom of section 2. if you are interested.

Tyler
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

bill-love avatar image
bill-love answered ·
I searched and found one post similar to us: 

https://devcommunity.ringcentral.com/ringcentraldev/topics/facing-a-issue-in-calling-the-specified-forward-number

In that it said that to use new interface  https://developer.ringcentral.com/api-docs/latest/index.html#!#RefRingOut.html

It seems that RingCentral updated ringout interface but not deprecated old one properly. 

RingOut URI
/restapi/v1.0/account/{accountId}/extension/{extensionId}/ring-out

Please note: The URI /restapi/v1.0/account/{accountId}/extension/{extensionId}/ringout is deprecated, but still supported for backward compatibility.

RingOut Call Status
URI
/restapi/v1.0/account/{accountId}/extension/{extensionId}/ring-out/{ringoutId}

Please note: The URI /restapi/v1.0/account/{accountId}/extension/{extensionId}/ringout/{ringoutId}
is deprecated, but still supported for backward compatibility.

I used "ring-out" instead of "ringout" in the call, everything worked fine now.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

brian-kleinfall avatar image
brian-kleinfall answered ·
Beware my understanding as of 2/21/2018 is that RingCentral is aware of the issue and it should be fixed - so if you reverse the to/from it will be broken again once the fix is applied.  Can someone from RingCentral confirm this please.  I am using ringout.asp API with a HTTP POST.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.