Question

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

  • 12 September 2019
  • 0 replies
  • 899 views

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);


0 replies

Be the first to reply!

Reply