├── .ackrc ├── .editorconfig ├── .env.sample ├── .eslintrc.json ├── .gitignore ├── .prettierrc.js ├── .vscode └── settings.json ├── README.md ├── demos ├── browser │ ├── index.html │ └── index.ts └── node │ ├── answer-and-save.ts │ ├── answer-and-talk.js │ ├── call-and-save.js │ ├── caller-cancel.js │ ├── high-concurrency.js │ ├── ignore.js │ ├── outbound-call.ts │ ├── send-audio.ts │ ├── text-to-speech.ts │ └── to-voicemail.js ├── package.json ├── src ├── index.ts ├── rc-message │ ├── call-control-commands.ts │ ├── rc-message.ts │ └── rc-requests.ts ├── sip-message │ ├── inbound │ │ └── inbound-sip-message.ts │ ├── index.ts │ ├── outbound │ │ ├── outbound-sip-message.ts │ │ ├── request-sip-message.ts │ │ └── response-sip-message.ts │ ├── response-codes.ts │ └── sip-message.ts ├── types │ ├── node-webrtc-media-devices │ │ └── index.d.ts │ ├── wrtc │ │ └── index.d.ts │ └── ws │ │ └── index.d.ts └── utils.ts ├── test ├── rc-message.spec.js └── sip-message │ ├── inbound-sip-message.spec.js │ ├── request-sip-message.spec.js │ └── response-sip-message.spec.js ├── tsconfig.json ├── webpack.config.babel.ts └── yarn.lock /.ackrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/.ackrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/.env.sample -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./node_modules/gts/" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ...require('gts/.prettierrc.json') 3 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/README.md -------------------------------------------------------------------------------- /demos/browser/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/browser/index.html -------------------------------------------------------------------------------- /demos/browser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/browser/index.ts -------------------------------------------------------------------------------- /demos/node/answer-and-save.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/answer-and-save.ts -------------------------------------------------------------------------------- /demos/node/answer-and-talk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/answer-and-talk.js -------------------------------------------------------------------------------- /demos/node/call-and-save.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/call-and-save.js -------------------------------------------------------------------------------- /demos/node/caller-cancel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/caller-cancel.js -------------------------------------------------------------------------------- /demos/node/high-concurrency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/high-concurrency.js -------------------------------------------------------------------------------- /demos/node/ignore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/ignore.js -------------------------------------------------------------------------------- /demos/node/outbound-call.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/outbound-call.ts -------------------------------------------------------------------------------- /demos/node/send-audio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/send-audio.ts -------------------------------------------------------------------------------- /demos/node/text-to-speech.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/text-to-speech.ts -------------------------------------------------------------------------------- /demos/node/to-voicemail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/demos/node/to-voicemail.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/rc-message/call-control-commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/rc-message/call-control-commands.ts -------------------------------------------------------------------------------- /src/rc-message/rc-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/rc-message/rc-message.ts -------------------------------------------------------------------------------- /src/rc-message/rc-requests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/rc-message/rc-requests.ts -------------------------------------------------------------------------------- /src/sip-message/inbound/inbound-sip-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/inbound/inbound-sip-message.ts -------------------------------------------------------------------------------- /src/sip-message/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/index.ts -------------------------------------------------------------------------------- /src/sip-message/outbound/outbound-sip-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/outbound/outbound-sip-message.ts -------------------------------------------------------------------------------- /src/sip-message/outbound/request-sip-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/outbound/request-sip-message.ts -------------------------------------------------------------------------------- /src/sip-message/outbound/response-sip-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/outbound/response-sip-message.ts -------------------------------------------------------------------------------- /src/sip-message/response-codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/response-codes.ts -------------------------------------------------------------------------------- /src/sip-message/sip-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/sip-message/sip-message.ts -------------------------------------------------------------------------------- /src/types/node-webrtc-media-devices/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/types/node-webrtc-media-devices/index.d.ts -------------------------------------------------------------------------------- /src/types/wrtc/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/types/wrtc/index.d.ts -------------------------------------------------------------------------------- /src/types/ws/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/types/ws/index.d.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/rc-message.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/test/rc-message.spec.js -------------------------------------------------------------------------------- /test/sip-message/inbound-sip-message.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/test/sip-message/inbound-sip-message.spec.js -------------------------------------------------------------------------------- /test/sip-message/request-sip-message.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/test/sip-message/request-sip-message.spec.js -------------------------------------------------------------------------------- /test/sip-message/response-sip-message.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/test/sip-message/response-sip-message.spec.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.babel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/webpack.config.babel.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ringcentral/ringcentral-softphone-js/HEAD/yarn.lock --------------------------------------------------------------------------------