Question

ring out not working with c# SDK

  • 8 September 2016
  • 3 replies
  • 732 views

Hello team,


I am using the below code to make a call , i get the status as "in progress" but i don't receive the call on the dialled number. please find the code and screen shot below.




var ringoutPostBodyJson = "{"from":{"phoneNumber":"19295755408","forwardingNumberId":""},"to":{"phoneNumber":"15614097222"},"playPrompt":true,"country":{"id":"1"}}";


var request = new Request("/restapi/v1.0/account/~/extension/~/ringout", ringoutPostBodyJson);



var ringoutResponse = sdk.Platform.Post(request);



3 replies

Please read the answer here and see if it works for you: https://github.com/ringcentral/ringcentral-csharp/issues/59


There is problem with your phone number.  Try with your mobile phone and any other phone that you are sure it is able to make a call.
Thanks for the reply. I saw this before and tried with different phone numbers but the status remains "cannot reach". Is there any specific way to test. As per the above link it seems that we need 2 phones. does that means from field should be some mobile number rather than main company number.

Reply