Home / Companies / Vonage / Blog / December 2020

December 2020 Summaries

12 posts from Vonage

Filter
Month: Year:
Post Summaries Back to Blog
The text discusses a Blazor app built for virtualizing an annual Secret Santa game within a family during challenging times. It covers the problem faced with missing participants, how the app was developed using Entity Framework Core and Vonage API, and the various components of the app such as authentication provider, data model, service methods, middleware configuration, and frontend development. The text also provides instructions on setting up the database and environment variables for running the app.
Dec 18, 2020 3,522 words in the original blog post.
The upcoming release of Ruby 3 is generating excitement among developers due to its inclusion of several new features and improvements. One of the most anticipated features is Ruby Signatures (RBS), which will allow for native type checking within the language itself, increasing confidence in API calls and reducing bugs. Additionally, Ruby Actors (Ractors) enable parallel thread-safe programming, allowing developers to run concurrent executions inside their applications. The new release also includes enhanced pattern matching capabilities, including the introduction of the find pattern, which enables more complex data deconstruction. These features are expected to improve performance, stability, and overall developer experience in Ruby-based projects.
Dec 17, 2020 1,283 words in the original blog post.
A use case like a video help chat for your website makes a great argument for a front-end framework. Svelte, on the newer end of the front-end framework spectrum, might be a more approachable choice due to its familiarity with HTML, CSS, and JavaScript. To get started with a new Svelte project, degit can be used to smoothly download and unzip application templates. The project requires Express to manage the video session, Concurrently to run both Express and Svelte simultaneously, and Dotenv for storing credentials in a secure manner. A Vonage Video API account is required for creating a video server, which can be installed using npm. Svelte and Express can be integrated together using Concurrently, allowing multiple commands to be executed from a single script in the package.json file. The .env file should be used to store sensitive data such as API keys and secrets. A secure home for credentials is created by adding the file to .gitignore before committing code. The server uses Express to create a Vonage Video API client, and the /chat endpoint manages the video chat session in a basic way. The client includes a Chat component that displays a link to initiate the chat, which opens the video chat when clicked. The VideoChat component initializes the session, subscribes to the stream, listens for errors, and publishes the publisher to the session.
Dec 16, 2020 2,042 words in the original blog post.
Here's a 1-paragraph summary of the provided text: The article discusses how to build a learning platform with video/audio capabilities, SMS notifications, and passwordless authentication using Vonage APIs. The platform allows teachers to create instant video/audio classes that students can join with just the link, and sends SMS notifications to invite students. The platform also includes features such as creating assignments, uploading files, and checking homework files. To build the platform, developers need to set up a Vonage API account, an AWS account, and install Node.js, NPM, and other required packages. They will then use GraphQL, React, and Apollo Client to create the frontend and backend of the application. The article provides step-by-step instructions on how to implement these features and includes code examples in JavaScript and TypeScript.
Dec 15, 2020 7,280 words in the original blog post.
This tutorial demonstrates how to set up a real-time Video/Virtual Classroom using the Vonage Video API, where the teacher can be in any location in the world and still communicate with students in real-time. The Vonage Video API is a service that makes it easy for developers to create applications that utilize WebRTC and Web Sockets to give real-time communication by video, text, audio, and others for web apps, mobile apps, and even desktop devices. The application consists of three main components: sessions, servers, and clients. Sessions manage user streams and keep track of events, while servers manage the session and use tokens generated by the server to join the session. Clients are browsers or mobile devices that users interact with directly to exchange video and audio feeds. Publishers send and receive audio/video feed, subscribers receive audio/video feed but cannot send, and moderators can do both. The tutorial uses Laravel as the backend framework and demonstrates how to set up a virtual classroom where teachers can create classes and students can join them in real-time. The application also includes authentication for users and a dashboard that displays a list of ongoing classes for students or a form to create a class for teachers.
Dec 11, 2020 3,016 words in the original blog post.
This tutorial covers setting up a Drupal 9 website using Composer, PHP 7.3 or higher, SQLite 3.26 or higher OR MySQL 5.7.8 or higher, and Vonage API account. It explains how to install the necessary dependencies, including the Vonage Drupal module, which provides an admin interface for adding in credentials, creating the Vonage API client, and registering it with the service system. The tutorial also shows how to configure the module, create a custom module to test the Vonage API, and send an SMS message from Drupal using the Vonage API SDK.
Dec 10, 2020 1,610 words in the original blog post.
Vonage Voice API provides a failover strategy to ensure customer experience is maintained even in the event of technical issues with the primary server. The platform offers fallback URLs that can be set to secondary data centers or static JSON files, allowing for customizable failover scenarios using NCCO instructions. Configurable timeouts and WebSocket disconnection callbacks also enable proactive measures to prevent user disruptions. Additionally, signed callbacks using JWT can help protect against malicious requests, although this feature is still in the Developer Preview stage with some known limitations.
Dec 09, 2020 717 words in the original blog post.
This tutorial demonstrates how to play a pre-recorded audio file into an incoming call using the Vonage Voice API, specifically utilizing the stream action in an NCCO (Nexmo Control Object) and the REST API for updates. The application is built using PHP and the Slim framework, with ngrok used to expose it to the internet. The tutorial covers creating a Vonage application, purchasing a virtual phone number, setting up the answer URL and event URL, and integrating the application with the Vonage API to handle incoming calls, play audio files, and update callers on their position in the queue. The final step involves taking the caller off hold and connecting them to an agent, although this is left as an exercise for the reader.
Dec 08, 2020 1,641 words in the original blog post.
Smart technology is being used in various industries to automate work processes, improve customer engagement, and interactions. Companies are leveraging chatbots as a smart technology solution to automate tasks such as accounting, recruiting, and marketing. Artificial Intelligence is utilized to make work easier and enhance the user experience. Virtual assistants and chatbots serve as examples of smart technology usage, enabling businesses to be more productive without manual labor. The use of smart technology can lead to increased efficiency, improved customer satisfaction, and enhanced business outcomes.
Dec 08, 2020 4,335 words in the original blog post.
This tutorial teaches developers how to handle incoming phone calls using a JSON array of actions called Call Control Objects (NCCOs) with the help of Go and the Voice API from Vonage. To complete this tutorial, one needs to have a Vonage API account, a virtual phone number, and a Vonage application with voice capabilities. The code handles two types of webhook requests: `answer` and `event`, which are triggered by incoming calls and events, respectively. When a call comes in, the code creates a Talk Ncco Action with a thank-you message for the caller, which is then returned as the response to the webhook request. To test the application, one needs to run the provided Go code and access the `/webhooks/answer` URL in a browser, where they will hear the pre-recorded message. The tutorial also discusses exposing the project to the internet using Ngrok and configuring the settings for the Vonage application.
Dec 03, 2020 985 words in the original blog post.
To improve the Text-to-Speech feature of their Voice API, Vonage has introduced standard language codes, allowing developers to easily select the desired language for a message. The new feature also includes voice styles and samples, enabling users to choose from various voices and adjust the style to suit their brand. Additionally, Vonage has expanded its supported languages, dialects, and voices, adding 7 new languages, 17 more languages with SSML support, and 130 new voices, bringing the total number of supported voices to over 200. The updated feature is designed to reduce costs and provide a better customer experience by allowing developers to easily construct custom phrases for their applications. Vonage has also made it easy for users to customize the spoken text with SSML and provides resources such as a developer portal guide, code snippets, and speech recognition guides to help developers get started.
Dec 02, 2020 415 words in the original blog post.
The World Air Quality Index project is a non-profit initiative that aims to promote air pollution awareness and provide worldwide access to air quality information. The project offers REST APIs for accessing data from weather and air quality monitoring stations globally. A service can be built using Node.js, the Vonage Messages API, and WhatsApp and Facebook Messenger channels to send information about current air quality at a given location. The service will use utility functions to query the WAQI APIs for air quality data and reply back with relevant information to users. The project also covers the use of ngrok to expose the application over the internet, Commander.js for parsing inbound messages, and the status webhook to ensure delivery of messages.
Dec 02, 2020 2,872 words in the original blog post.