GithubHelp home page GithubHelp logo

dialex-com / restcomm-web-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from restcomm/restcomm-web-sdk

0.0 1.0 0.0 3.39 MB

RestComm WebRTC JavaScript SDK

Home Page: http://www.restcomm.com/

License: GNU Affero General Public License v3.0

Shell 0.03% JavaScript 96.94% Python 2.22% HTML 0.81%

restcomm-web-sdk's Introduction

Try Restcomm Cloud NOW for FREE! Zero download and install required.

All Restcomm docs and downloads are now available at Restcomm.com.

FOSSA Status

RestComm WebRTC SDK

RestComm WebRTC SDK is a simple yet efficient high level, Twilio Compatible JavaScript WebRTC SDK for Web Developers to add Real Time Communications and IM Capabilities to any website.

RestComm WebRTC SDK allows you to create Real Time Video, Voice and Instant Messaging Web Applications that can connect together any WebRTC enabled Browser (Chrome, Firefox, ...), SIP enabled devices and legacy phones (Cell Phone, Desktop Phone)

Installation instructions

  • Make sure you have NodeJS and NPM is installed on your machine, if not you can get it here: https://nodejs.org/en/download/
  • CD to /restcomm-web-sdk/samples/hello-world/
  • Install required node modules, run below commands:

npm install node-static npm install https npm install fs

Open index.html in your favirout text-editor and follow below steps:

Change the var parameters section to be exactly as shown below:

var parameters = {
		'debug': true,
		'username': 'ENTER SIP USERNAME',       // Created in Restcomm Cloud >> Clients >> Add New
		'password': 'ENTER SIP PASSWORD',                 // Created in Restcomm Cloud >> Clients >> Add New
		'registrar': 'wss://cloud.restcomm.com/webrtc'.   // Restcomm Cloud Registrar, its the same for all Restcomm Cloud Clients
  

	};

#Go down to function call(), and replace with :

function call() {
  var parameters = {
			'username': '[email protected]',   // Phone number you want to dial when you click on the Call Icon

Now finally go to directory /restcomm-web-sdk/samples/hello-world/ and run this command to start project:

	# node server-secure.js

Open chrome browser and visit https://localhost:7443/index.html

Click the call button and it will dial 18003333333 via your restcomm cloud account.

restcomm-web-sdk's People

Contributors

ajamous avatar ammendonca avatar deruelle avatar fossabot avatar ivelin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.