GithubHelp home page GithubHelp logo

isabella232 / ringcentral-pjsip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ringcentral/ringcentral-pjsip

0.0 0.0 0.0 4.55 MB

Use PJSIP to create RingCentral device simulators

C++ 91.75% Shell 8.25%

ringcentral-pjsip's Introduction

ringcentral-pjsip

Use PJSIP to create RingCentral device simulators.

Technical Reference: slides.

Setup

docker build -t ringcentral-pjsip:latest .
cp credentials.sample.hpp credentials.hpp

Edit credentials.hpp and specify credentials.

Run

docker run -it --rm -v $(pwd):/ringcentral-pjsip ringcentral-pjsip ./run.sh <file-name>.cpp

For example:

docker run -it --rm -v $(pwd):/ringcentral-pjsip ringcentral-pjsip ./run.sh demos/call-and-play-wav-file.cpp

Test

Call the phone number associated with your RingCentral device.

Todo

  • How to deploy to AWS?
  • Add demo about microphone and speaker
  • high concurrence
    • one application to handle handreds of calls

Miscellaneos

How to gererate wav file for testing

say -o temp.wav --data-format=LEI16@48000 "Hello world"

Command above convert text "Hello world" to temp.wav file.

BUT this file doesn't have proper headers.

In order to fix it, we need ffmpeg:

ffmpeg -i temp.wav hello.wav

ringcentral-pjsip's People

Contributors

tylerlong 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.