SIP Protocol Messages - [Example: Playback custom error message]
SIP Protocol Messages The SIP protocol specifies messages that communicate status between endpoints. Each standardized message is indexed by a number as listed below. Requests * INVITE Indicates that a...
View ArticleESL phpmod install
ESL phpmod install Download source FS cd /usr/src/ git clone https://freeswitch.org/stash/scm/fs/freeswitch.git -bv1.8 freeswitch cd /usr/src/freeswitch ./bootstrap.sh -j ./configure --with-php apt-get...
View ArticleFreeSWITCH + Google API Speech Recognize - создано
FreeSWITCH + Google API Speech Recognize Распознавание речи при помощи Гугль Api Получите ключ для API * Зайти в проект или создать новый: * В проекте зайти
View ArticleAsterisk настройка TLS SRTP для PJSIP - [Тестирование]
Asterisk настройка TLS SRTP для PJSIP [asterisk-pjsip-tls-srtp] Настроим защищенное подключение SIP клиентов к Asterisk 14 за NAT, используя драйвер PJSIP, транспорт TLS и шифрование голоса SRTP.
View ArticleFreeswitch: mod_lua - создано
Freeswitch: mod_lua Lua is the preferred scripting language for custom applications based on FreeSWITCH. The Lua API documentation is provided here Lua API Reference For those willing to keep using...
View ArticleFS XML dialplan examples
FS XML dialplan examples The dialplan is parsed once when the call hits the dialplan parser in the ROUTING state. With one pass across the XML the result will be a complete list of instructions...
View ArticleInstalling Verto - [Dependencies]
Installing Verto Before we can use Verto, we'll need to install it. There are two options available: * Install FreeSWITCH + Verto * Install Verto only If you're going to use a self hosted FreeSWITCH...
View ArticleInitializing Verto - [Trying]
Initializing Verto It's time to edit our main.js JavaScript file. Start with the following structure: // our main function (function() { var vertoHandle, vertoCallbacks; // put your code here! })();...
View ArticleFs: mod_verto - [Certificates]
Fs: mod_verto Verto (VER-to) RTC is a FreeSWITCH endpoint that implements a subset of a JSON-RPC connection designed for use over secure websockets. The initial target is WebRTC to simplify coding and...
View ArticleFS: webrtc Install Certificates - [Debian 7 (Wheezy)]
FS: webrtc Install Certificates WebRTC provides Real-Time Communications directly from better web browsers and devices without requiring plug-ins such as Adobe Flash nor Silverlight. WebRTC always...
View ArticleMaking a Call - [Tracking call progress]
Making a Call Since we've got a Verto client working and connected to a Verto server, it's time to make an audio call. Building interface Let's keep things simple and just add a button: Verto - Demo...
View ArticleHanging Up a Call - [Full code]
Hanging Up a Call Since we've got a Verto client working and connected to a Verto server, it's time to make an audio call. Building interface Let's keep things simple and (again) just add a button:...
View ArticleAnswering a Call - [Full code]
Answering a Call Receiving a call event vertoCallbacks = { onWSLogin: onWSLogin, onWSClose: onWSClose, onDialogState: onDialogState }; function onDialogState(dialog) { console.debug('onDialogState',...
View ArticleAdding Video Support - [Styling video tag]
Adding Video Support Verto was built for video conferences, so adding support for it is very simple. Preparing interface Verto - Demo ApplicationMake callHang up callAnswer call
View ArticleRecovering a Call
Recovering a Call What happens if: * your internet connection goes down for a while * your browser closes or you close the tab by mistake * your computer restarts, shuts down, have a power failure...
View ArticleSubscribing to the live array - [Live array data format]
Subscribing to the live array The live array enables you to receive real time server data in a javascript array. All users dialed into a conference are added to the live array data on the server, and...
View ArticleSending conference commands
Sending conference commands It's possble to control various aspects of the conference by sending conference commands directly from Verto. In the example code below, vertoConf is an instance of...
View ArticleSending DTMF
Sending DTMF An example of sending DTMF for the logged in user. In the example code below, currentCall is an instance of vertoHandle.newCall() as created in making an audio call. // The sent key digits...
View ArticleSending chat messages
Sending chat messages An example of sending a chat message from the logged in user. In the example code below, vertoConf is an instance of $.verto.conf as created in subscribing to the live array. var...
View ArticleTesting bandwidth - [Using test results to calculate video resolution]
Testing bandwidth Since users can be operating under a wide variety of network conditions, it can be very helpful to perform a test to determine their bandwidth capacity. Fortunately, Verto makes this...
View Article