Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plivo/voicechat
VoiceChat is a set of APIs to create conference rooms on the fly to be used in the browser. Its built using the Plivo WebSDK and APIs.
https://github.com/plivo/voicechat
Last synced: 12 days ago
JSON representation
VoiceChat is a set of APIs to create conference rooms on the fly to be used in the browser. Its built using the Plivo WebSDK and APIs.
- Host: GitHub
- URL: https://github.com/plivo/voicechat
- Owner: plivo
- License: mit
- Created: 2014-01-31T11:22:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T22:54:49.000Z (over 2 years ago)
- Last Synced: 2024-08-01T22:53:57.024Z (3 months ago)
- Language: JavaScript
- Size: 1.5 MB
- Stars: 818
- Watchers: 46
- Forks: 137
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [VoiceChat](http://voicechatapi.com/)
VoiceChat is a set of APIs to create ad-hoc conferences to be used in the browser. Its built using the [Plivo WebSDK](https://plivo.com/docs/sdk/web/) and APIs.# Looking to self-host?
## Automatically Deploy to Heroku
- Create a [Plivo account](https://manage.plivo.com)
- Create and **verify** a Heroku account if you don't have one then click the button below.[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Manual Installation
### Clone this repo
$ git clone https://github.com/plivo/voicechat.git
### Configure
Create a Plivo account if you haven't already### Deploying to Heroku
Create and **verify** a Heroku account if you haven't.$ cd voicechat
$ heroku create {app_name} -s cedar
$ git push heroku master
$ heroku addons:create redistogo:nano --app {app_name}
$ heroku ps:scale web=1Add Plivo Auth ID and Auth Token to env from the [dashboard](https://plivo.com/dashboard/).
$ heroku config:set PLIVO_AUTH_ID={PLIVO_AUTH_ID}
$ heroku config:set PLIVO_AUTH_TOKEN={PLIVO_AUTH_TOKEN}### Test your application
Go to {app_name}.herokuapp.com# API Docs
## Create a conference name
POST /api/v1/conference/
### Example
$ curl -XPOST http://voicechatapi.com/api/v1/conference/
{
"conference_name": "p12ygdwt1",
"conference_url": "http://voicechatapi.com/p12ygdwt1/"
}## Call a mobile & landline phone number (PSTN) into the bridge
POST /api/v1/conference//
### Parameters
to - The phone number to be called.
clid - The caller id which will be used. (The phone number to be shown in the recipient's phone.)### Example
$ curl -XPOST -d "to={1415123####}&clid={1415123####}" http://voicechatapi.com/api/v1/conference//
{
"success": True,
"message": "Call has been queued"
}