question

John DeBoer avatar image
John DeBoer asked ·

RingOut API from SoftPhone never rings softphone but status says 'In Progress'

Using the API, I'm able to connect from any one phone number to any other phone number as long as they are both outside of my RingCentral account. When I try to use my RingCentral DID it never rings. The status indicates that the call is 'In Progress' and I don't see any error messages. I also tried dialing from company number + extension (like +18001234567*102) and I've tried using the forwardingNumberId, found by grabbing the Id from /account/~/extension/~/forwarding-number. It just acts like it's dialing but never dials.


RestClient rc = new RestClient("My Client Id", "My Client Secret", false);

await rc.Authorize("My Account #", "My Extension", "My Password");

var parameters = new MakeRingOutRequest();

parameters.from = new MakeRingOutCallerInfoRequestFrom { phoneNumber = "15551234567" };

//parameters.from = new MakeRingOutCallerInfoRequestFrom { forwardingNumberId = "My Forwarding Id " };

parameters.to = new MakeRingOutCallerInfoRequestTo { phoneNumber = "18005552900" };

parameters.playPrompt = false;


var resp = await rc.Restapi().Account().Extension().RingOut().Post(parameters);

Console.WriteLine("Call Placed. Call status: " + resp.status.callStatus);

apiringout
5 comments
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.

So none of the caller's phone and callee's phone ring at all? Can you also do a quick test to make a normal call from your mobile to your RingCentral phone, e.g. dial +18001234567*102 from any phone to see if the 102 phone rings.

Let me know.

0 Likes 0 · ·

Yes, if I dial from my cell to my RC number it works. I've done that via the DID number and by dialing the main number and selecting the extension. Doing the same thing via code literally does nothing. I feel like these calls are going but the second leg never happens because nobody picks up on the first leg. I'm basing that off the fact that there's no error and a positive status message.

0 Likes 0 · ·

OK, I may be gaining on this issue. I went to the admin portal and looked at the call logs. I see the call attempts. The Action column shows "Ring Out Web" and the Result column shows "IP Phone Offline". Does that mean something to you? I can make some guesses... it seems like it wants to connect to a physical phone, but I'm not sure.

0 Likes 0 · ·

I guess that you login that extension on a soft-phone, right? It is weird that you still can get the phone ringing when you dial from your cell number to the RC number. Can you log in your service web (https://service.ringcentral.com) and open the extension (user), click the Phones & Numbers option, select Phones tab and click edit on the phone you see on the list. Now, click the "Deauthorize this Computer" button. Close the soft-phone app and reopen it and login again then try.

0 Likes 0 · ·
Show more comments

0 Answers

· Write an Answer

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.