Web SDK
Server-side packet
Overview
The server-side part of Web SDK is used for monitoring and connection between Mobile (iOS/Android), WebPhone devices and Apifonica service.
Requirements:
- npm installation
- Node.js
- MySQL or PostgreSQL
Features:
- Server management and its interaction with Mobile SDK apps and Apifonica server;
- Monitoring of the rented phone numbers;
- Monitoring of Incoming/Outgoing Calls via XML scenarios;
- Synchronize rented numbers stored on your server-side with rented numbers stored in your Apifonica account.
Architecture
- Your app initiates communications with your server via REST APIs to rent a number and requests a Capability (JWT) Token
- Your app talks with Apifonica to register with it’s services and make/receive VoIP connections
- Apifonica talks with your server to get XML or your server initiates communications with Apifonica via REST APIs to rent a number
Web Phone (VoIP)
Web Phone is a demo project which contains functions to rent a phone number and make WebRTC based VoIP phone calls from the customer's web browser.
Requirements:
- npm installation
- Node.js
- MySQL or PostgreSQL
Features:
- Rent a phone number;
- Supports incoming/outgoing VoIP calls on the base of WebRTC service;
- Audio connection with audio codecs (OPUS/G722/G711(u/a-law)/SHA-256);
- Supports Google Chrome, Firefox Mozilla and Safari browsers.