OnlinePBX
Simple OnlinePBX telephony interface. Powered by plain JavaScript (written in TypeScript) ⚡️
⚠️ This package is unstable and in active development. Use at your own risk or
wait for the release of a stable version for use in a production environment.
Features
- Intuitive API
- Lightweight
- TypeScript
- Plain JS
Documentation
Coming soon...
Install
npm install onlinepbx
Usage
import { OnlinePBX } from 'onlinepbx-ts'
const onlinePBX = new OnlinePBX({
apiKey: '',
domain: '',
autoConnect: false
})
onlinePBX.connect()
onlinePBX.on('connect', () => {
console.log('success')
})
onlinePBX.command('make_call', {
from: '101',
to: '998992221144'
})
License
MIT
Copyright (c) 2022-present, azabroflovski