question

eugene1578 avatar image
eugene1578 asked Tyler Liu answered

i want to make app using ringcentral

Hi.

i am ringcentral beginer.

i am developing app using the https://github.com/ringcentral/ringcentral-csharp-client c# SDK.

Can i realize softphone using ringcentral c# sdk.?

 

i have several question.

question is follow.

1.      how to Accept Incoming Call

2.      In order to call, what should i do on code?.

I have realized about ring function at present. But I cant call(send and receive voice).

What do I have to next step?.

In a word, What should I do to go  form ring to connected?

Please explain the step to call.

3.       how to Creates SIP registration of a device/application?

    my ringcentral accout info is as follow.

          phoneNumber. 18059213091

          pass   TempPass1!

         app: ringcentral_DesktopApp

        

 

Result to Creates SIP registration  is follow.

          


o     

  Curl

curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer U0pDMTFQMDFQQVMwMHxBQUEzQmFzcU1WVVpjWnNLemg1V0hJMkpGbEExNExWU21Cd0VuVnAweERZc2NubDhlcFhtY2Q1czhVT2dzenlQREkxNF9QWWRPMEVYNENYQjd4dmJsWHJoVHJNQURXT09Va3pUbnJ2enFlcXBkbTN3YjFDdGhGUXpXTDZXUjhrSGhLX3ZIZU5lVDNUUE50cnpRNWM4OEw5OEo1ejc1WmhSNE5PcUVfeHVObHkyNWZpNWxtZWNTRFFwSzc4M2ZYWWtWV0l8MGRybm93fDZCcV9Jc0ZlT0M3d0ZVUkJIUHFOTWc" -d "{\"sipInfo\":{\"transport\":\"WSS\"}}" "https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision"


Request URL

https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision


Response Body

{

  "errorCode": "CMN-301",

  "message": "Request rate exceeded",

  "errors": [

    {

      "errorCode": "CMN-301",

      "message": "Request rate exceeded"

    }

  ]

}


Response Code

401


Response Headers

{

  "date": "Sat, 01 Jul 2017 23:23:37 GMT",

  "content-length": "161",

  "content-language": "en",

  "routingkey": "SJC11P01",

  "content-type": "application/json"

}


          


i am sure that you will help me well.
topic-default
1 |1000

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

1 Answer

·
Tyler Liu avatar image
Tyler Liu answered
As far as I can tell, it's impossible to implement a working soft phone with merely C#. There is no way to accept a call with C#. There is also no way to make a call directly except Ringout.

If you want to create a soft phone programmatically, you can take a look at webrtc. And here is the library:  https://github.com/ringcentral/ringcentral-web-phone

1 |1000

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

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.