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

How to install Asterisk: Asterisk installation on centos

Today, In this article we will know how to Asterisk Installation on centos 8 or a RedHat-based system. Know more about asterisk installation Installation and configuration of WebRTC with asterisk on Amazon What New in Asterisk 16 Step 1: Updating system Update your system before installing Asterisk. After updating set SELinux in permissive mode by … Read more

G.711 Codec

VoIP-Codecs

G.711 Codec G.711 is a codec that was introduced by ITU in 1972 for use in digital telephony. The codec has two variants: A-Law is being used in Europe and in international telephone links, uLaw is used in the U.S.A. and Japan. G.711 uses a logarithmic compression. It squeezes each 16-bit sample to 8 bits, thus it achieves a … Read more

Basic Call Flow – SIP

peer to peer sip flow

Basic Call Flow – SIP Key terms used in SIP: It is important to familiarize with these terms in order to understand basic SIP call flow. Here are few of them: Call flow: It’s a flow diagram of SIP messages — shows an ideal way how a media session carried over two endpoints. Its a … Read more

Convert audio files for Asterisk

Convert audio files for Asterisk Converting to sln format Starting from Asterisk 1.2.0, the .sln (SLINEAR) format seems to be the preferred format. To convert wav file to sln, use the following command: sox foo-in.wav -t raw -r 8000 -s -w -c 1 foo-out.sln Note that sox v14.3.0 and above (installed in Ubuntu 9.10), the … Read more

asterisk task processors : high queue size warning

asterisk

asterisk task processors : high queue size warning You may have seen the “task processor queue reached 500 scheduled tasks” in asterisk. Let’s understand what is the meaning of this warning and what this cause. Task processors have been in Asterisk for a long time. Since Asterisk v12, they have become more important because the … Read more

asterisk auto dialing using call file

asterisk

asterisk auto dialing using call file Asterisk call files are structured files which, when moved to the appropriate directory, are able to automatically place calls using Asterisk. Call files are a great way place calls automatically without using more complex Asterisk features like the AGI, AMI, and dialplan, and require very little technical knowledge to … Read more

Vicidial Lead upload sample csv file

vicidial lea upload file

Vicidial Lead upload sample csv file Below is a standard vicidial lead csv/excel template to upload the data. Download link : ClickHere  refer the below video of reference Open the file in excel Fill the necessary fields (like , Phone, Phone code, Firstname , lastname etc) Save the file Now click the (save as) option from … Read more

install asterisk 14 on CentOS 7

asterisk

install asterisk 14 on CentOS 7 Step 1: Disable SELINUX Modify /etc/sysconfig/selinux file, change SELINUX to disable and restart server. # vi /etc/sysconfig/selinux Change SELINUX=disabled Step 2: Update system: #yum update Step 3: Installing Required Packages: # yum install gcc gcc-c++ php-xml php php-mysql php-pear php-mbstring mariadb-devel mariadb-server mariadb sqlite-devel lynx bison gmime-devel psmisc tftp-server httpd make ncurses-devel … Read more