News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How can I make a call from my c# website to a phone?
Tags: getting started
Dec 9, 2019 at 11:36am   •   1 replies  •  0 likes
Donald King

We have a c# application built in .Net 4.5.2. We want to add a feature that lets the user click a phone number and be connected to that number through the browser. I have looked at both the WebRTC and the RingOut options and still have a few questions. Does RingOut need to work through the softphone? Can I log calls (start time, end time, comments, etc.) with both the RingOut and the WebRTC APIs? If I'm just calling out from the application will RingOut suffice?

1 Answer
answered on Jan 21, 2020 at 6:52am  

f


 0
answered on Dec 9, 2019 at 3:27pm  

If you choose to implement your own web phone from scratch using the WebRTC, you need to implement a lot.

Here is an alternative with the RingCentral Embeddable. Simply add the code below to your page (e.g. the Default.aspx)

<span><a href="#" onclick="makeCall('13129822345')">+13129822345</a></span>
<iframe width="300" height="500" id="rc-widget" allow="microphone" src="https://ringcentral.github.io/ringcentral-embeddable/app.html">
</iframe>
<script>
    function makeCall(number) {
        document.querySelector("#rc-widget").contentWindow.postMessage({
                type: 'rc-adapter-new-call',
                phoneNumber: number,
                toCall: true,
                }, '*');
    }
</script>



 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us