question

z-admin avatar image
z-admin asked ·

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

 


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.

Tyler Liu avatar image
Tyler Liu answered ·
Please read the answer here and see if it works for you:  https://github.com/ringcentral/ringcentral-csharp/issues/59
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 Liu avatar image
Tyler Liu answered ·


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.
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.

z-admin avatar image
z-admin answered ·
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.
1 comment 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.

Yes, both from and to should be mobile numbers and you'd make sure those two numbers are OK to make and receive phone calls. Above is not mandatory at all but it helps you to locate your issue. Once you do the test above successfully, try other numbers such as your company numbers, some virtual phone numbers...etc.
0 Likes 0 · ·

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.