All Projects → Nexmo → comms-router

Nexmo / comms-router

Licence: Apache-2.0 license
A server which allows you to route tasks to agents.

Programming Languages

java
68154 projects - #9 most used programming language
Vue
7211 projects
CSS
56736 projects
common lisp
692 projects
javascript
184084 projects - #8 most used programming language
scala
5932 projects

Projects that are alternatives of or similar to comms-router

oas parser
An open source Open API Spec 3 Definition Parser
Stars: ✭ 52 (+188.89%)
Mutual labels:  nexmo, developer-destination
nexmo-oas-renderer
Render your API references, Nexmo-style!
Stars: ✭ 40 (+122.22%)
Mutual labels:  nexmo, developer-destination
sms blitz
Send SMS messages through multiple different providers
Stars: ✭ 29 (+61.11%)
Mutual labels:  nexmo
nexmo-go
This SDK has moved! It is now located at https://github.com/vonage/vonage-go-sdk. New features will be released in the vonage org, so to take advantage of those please make sure to switch to vonage-go-sdk as soon as possible so you don't miss out!
Stars: ✭ 0 (-100%)
Mutual labels:  nexmo
Fonos
🚀 The open-source alternative to Twilio
Stars: ✭ 3,785 (+20927.78%)
Mutual labels:  cpaas
fonoster
🚀 The open-source alternative to Twilio
Stars: ✭ 5,072 (+28077.78%)
Mutual labels:  cpaas
repo-standards
A starter kit for setting up a new repo, including a checklist of what to include in your README and templates for other recommended files
Stars: ✭ 26 (+44.44%)
Mutual labels:  developer-destination
vonage-node-code-snippets
NodeJS code examples for using Nexmo
Stars: ✭ 46 (+155.56%)
Mutual labels:  developer-destination

Introduction to Comms Router

The Nexmo Comms Router API enables businesses to leverage self-hosted or on premises APIs to manage Contact Center task management. The modern Contact Center is designed to be flexible and extensible through allowing developers to customise integrations and leverage Nexmo Comms Router API as a key building block.

Comms Router is a key building block within the Contact Center complete solution.

This repository also includes:

Pre-requisites

Key Concepts

  • Router - The parent container that joins all of the Router entities Tasks, Agents, Queues and Plans.
  • Plans - Container that manages multiple queues, priority of Tasks in Queues and failover if agents are not available.
  • Queues - A bucket to collect Tasks waiting for the next available Agent. The Task is routed to a Queue based on conditional logic (predicate) predefined by the Customer requirements for example if they require to be routed to speak to an agent with a specific skill like language.
  • Agents - An endpoint for a physical Agent able to handle Tasks, characterized by their Capabilities or assigned skills it has based on key value pairs set.
  • Capabilities (Skills) - Conditional logic assigned to Agents and Queues to route Tasks. These are made of key value pairs or arrays, single or multiple value conditions.
  • Tasks - A work item characterized by its Capabilities for example a set of skills an Agent requires to have a Task routed to them based on key value pairs set.
  • Customer - End user that is initiating the contact request, creating the Task that is then routed to an Agent via a Queue.

Features

  • Agent capabilities can be text, numeric integers or ranges, boolean key value pairs or an array of strings.
  • Agent availability can be set to offline, ready, busy, unavailable and is updated to busy based on if a Task has been assigned to them.
  • Within the Plans it is possible to manage priority order of Queues, priority of a Task and timeout of a Task to enable failover to another Queue.

Customer Journey Flows

Inbound Voice Call (PSTN):

Can be set up using the current demo application for an inbound Contact Center use case.

  1. Customer calls Nexmo phone number
  2. Client receives a request via Webhook and NCCO request with predefined IVR options
  3. Client receives IVR option from Voice API
  4. Comms Router Task created from client
  5. Available Agent found with matching criteria
  6. Agent accepts request and Customer connected to Agent

Nexmo Comms Router inbound call customer journey

Callback Voice Call (PSTN):

Require creating a custom application to handle the inbound request and a client for connecting an Agent to a Customer through a PSTN call. View documentation for creating an outbound Voice application.

  1. Customer submits an online callback request form
  2. Form submitted to the server application
  3. Task is created with routing requirements from customer request
  4. Available Agent is found with matching skills
  5. Agent accepts reservation and dials customer phone number (PSTN)
  6. Call is initiated and connects the Agent to the customer

Agent Management and Real-Time Tasks Dashboard:

Manage Agents availability, phone numbers, Skills, Queues and Plans within a Dashboard web UI application. View tasks associated with Queues in real-time and manage Skills of Agents and their availability.

Installation

Before installation, you’ll need the following from the Nexmo Dashboard. If you need to create an account sign up for a Nexmo.

Note: It is recommended that you have an upgraded Nexmo account with credit before installation.

System requirements

  • Java - Oracle JDK/JRE 8 (build/runtime)
  • Apache Maven - 3.5 (build)
  • SQL Server - MySQL 5.7 (runtime)
  • Java Servlet Container - Tomcat 8 (runtime)

The Comms Router API may work with different types of Java, SQL Server or Web Container and is currently being tested and maintained with the above component versions.

Install and build

  1. Install Java - Oracle JDK/JRE 8 (build/runtime)
  2. Install SQL Server - MySQL 5.7 (runtime)
  3. Installing SQL Server and configuring Tomcat: (view complete guide)
    • Create and context.xml configure context.xml datasource resource definition
    • Install the Java Database Controller (JDBC) driver
    • Update or create setenv file
    • Create new liquibase.properties file
    • Populate and migrate the database
  4. Clone Comms Router repository
  5. Install Maven:
    • Navigate to local repository cd comms-router/
    • Run Maven install mvn install
  6. Build application:
    • Navigate to web/target/
    • Deploy application to Tomcat mv comms-router-web.war /usr/local/apache-tomcat-8.0.XX/webapps/

Note: Depending on Tomcat settings this can be done by simply copying it to the Tomcat's webapps directory.

Test installation

  1. Start Tomcat
  2. List routers curl -X GET http://localhost:8080/comms-router-web/api/routers

Supporting documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].