How to save audio stream from Asterisk to a file via WebSocket

To save an audio stream from Asterisk to a file via WebSocket, you need to capture the audio being streamed from Asterisk and write it to an audio file format (such as WAV or PCM). Here’s a step-by-step guide to accomplish this: create web socket and save data in a text file Requirements: Asterisk: To … Read more

Webrtc with Asterisk 16 : complete configuration with SIP

Today, We will wrap up webrtc set up with Asterisk 16. We will see how to configure asterisk 16 to suport webrtc and what more packages will require. Asterisk and SIP.js were tested using the following setup: CentOS 7.2 minimal (x86_64). Asterisk 16.9.0. OpenSSL 1.0.1e-fips 11 Feb 2013 or later. A public IP address to avoid … Read more

WebRTC Video Chat Application with SimpleWebRTC

WebRTC Video Chat Application with SimpleWebRTC   What is SimpleWebRTC Before we move on, it’s important that we understand the main tool that we’ll be using. SimpleWebRTC is a JavaScript library that simplifies WebRTC peer-to-peer data, video, and audio calls. SimpleWebRTC acts as a wrapper around the browser’s WebRTC implementation. As you might already know, browser vendors … Read more