How to Use:
Step 1: Exploring Fonoster
Initially, explore Fonoster's features through the Software as a Service (SaaS) option, which offers a free start and comprehensive experience.
Step 2: Installation Advisory
Note that the current installation process for Fonoster is complex. Wait for the upcoming 0.4 or 0.5 release for a more user-friendly installation experience.
Features of Fonoster 0.4:
- Multitenancy
- Easy deployment of PBX functionalities
- Programmable Voice Applications
- NodeJS SDK
- Support for Amazon Simple Storage Service (S3)
- Secure API endpoints with Let's Encrypt
- Authentication with OAuth2 and JWT
- Role-Based Access Control (RBAC)
- Plugins-based Command-line Tool
- Support for Google Speech APIs
- Secrets managed by Hashicorp Vault
Code Examples:
- Fonoster provides code examples for Voice Applications using various verbs like Answer, Hangup, Play, Say, Gather, Dial, Record, Mute, Unmute, etc.
- Voice Application Example using SDK:
javascript
const { VoiceServer } = require("@fonoster/voice");
const serverConfig = {
pathToFiles: `${process.cwd()}/sounds`,
};
new VoiceServer(serverConfig).listen(async (req, res) => {
await res.answer();
await res.play(`sound:${req.selfEndpoint}/sounds/hello-world.sln16`);
await res.hangup();
});
Step 3: Originating a Call with the SDK:
Use the Fonoster SDK to start a call with just a few lines of code.
Step 4: Resources for Getting Started:
- Deploying Fonoster to the Cloud
- Getting started with Fonoster
- Connecting Fonoster with Dialogflow
- Using Google Speech APIs
Step 5: Engagement and Community:
Join the Fonoster community of contributors and advocates.
Step 6: Pricing Options:
Fonoster offers free and paid plans with different features and support levels.