question

support-150983 avatar image
support-150983 asked benjamin-dean answered

Two-Legged RingOut Call using Asp.Net

I want a sample or suggestion reg how to use Two-Legged RingOut Call API in my website using Asp.Net for my web applications. Thanks in Advance

sdk
1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

benjamin-dean avatar image
benjamin-dean answered
We do have a C# SDK available, and there are examples for SMS, Fax, and other services offered by the RingCentral API resources. RingOut is a two-legged call. The SDK contains all the information you'll need to get started using it in your application.

The RingCentral C# SDK:  https://github.com/ringcentral/ringcentral-csharp

Example request to establish a two-legged ringout:
Request request = new Request("/restapi/v1.0/account/~/extension/~/ringout", jsonRingoutString);
Response response = ringCentral.Post(request);
The API Documentation for Two-Legged RingOut which provides information you'll need when populating the JSON body of the POST request: https://developer.ringcentral.com/api-docs/latest/index.html#!#TwoLegRingOut.html
1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys