/click2vox

click to call button generator

Primary LanguageCSSApache License 2.0Apache-2.0

click2vox WebRTC Widget generator

Usage

When trying to host this widget generator for your self, please modify the variable docroot in routes/index.js to correspond to the URL where you are hosting the widget generator

Accessing the generator

The generator requires several pieces of information to be passed either HTTP POST (urlencoded form sumbission or json) or passed url encoded via HTTP GET

Parameter Meaning
e164 your voxbone did w/o the +
login your provisioned webrtc login
password your shared secret used for webrtc
basic_auth 1 if you've enabled basic auth 0 if you host your own credential service

Example form can be found at docRoot/html/widget_form.html

Launcing the applicaiton

First install the required dependencies: npm install

Then you can launch the node application: npm start

By default the application will listen to port 3000