Skip to main content
The First Step
Sep 8, 2016 5:15 PM UTC
Question

ring out not working with c# SDK

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

Employee
Sep 9, 2016 5:35 AM UTC
Please read the answer here and see if it works for you: https://github.com/ringcentral/ringcentral-csharp/issues/59
Employee
Sep 9, 2016 5:41 AM UTC


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.
z-adminThe First StepAuthor
The First Step
Sep 9, 2016 7:14 AM UTC
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.