...
- Outgoing call (including ringing event)
- Incoming call (ringing event)
- Answer call
- Hang-up
- Hold
- Transfer
- DTMF
Example
...
incoming event
Requirements
- user credentials (for communicator)
- git,node.js
Install instructions
- git clone https://github.com/exxon23/pbx-remote.git
- npm install
- npm start (starts application on localhost:3000)
...
Blok kódu |
---|
{
"type": "data",
"id": "1",
"payload": {
"data": {
"callEvents": {
"type": "incoming",
"parameters": {
"number": "+420777888999",
"entryTime": null,
"value": null,
"type": null
}
}
}
}
} |
API Documentation
Documentation is based on GraphQL Playground - https://www.apollographql.com/docs/apollo-server/features/graphql-playground/
Mutation
sendRemoteCommand - Send remote command
Subscriptions
callEvents - Incoming command notification
Get the token from Getting Started with the API PBX
API endpoint https://ipbxapi.voipex.io/graphql
Get token in browser console (DevTools - F12)
Blok kódu | ||||||
---|---|---|---|---|---|---|
| ||||||
fetch('https://restapi.ipex.cz/v1/sso/login', {
method: 'POST',
body: JSON.stringify({
email: 'your_login i.e. jiri.nova@ipex.cz',
password: 'your_password'
})
})
.then(res => res.json())
.then(({access_token}) => console.log(`"Authorization": "Bearer ${access_token}"`)) |
Put output to the HTTP Headers
Put output to the HTTP Headers
Mutation
sendRemoteCommand - Send remote command
Subscriptions
callEvents - Incoming command notification
Examples
Example Application
Requirements
- user credentials (for communicator)
- git,node.js
Install instructions
- git clone https://github.com/exxon23/pbx-remote.git
- npm install
- npm start (starts application on localhost:3000)
FAQ
Q: What is the difference between click2dial and RCC?
...