Miss any of our Open RFC calls?Watch the recordings here! »

ged-145-server

0.5.3 • Public • Published

ged-145-server

This is a GED-145 server that is meant to host connections from the Cisco ICM Router. It can be used a base for an application gateway (see https://gitlab.com/ccondry/cce-app-gateway for an example)

Data Format

The expected ICM data format for call variables can be found in test-data.js

Usage

const Ged145Server = require('ged-145-server')
// listen on all addresses on port 3000
const ged = new Ged145Server('0.0.0.0', 3000)
// test-data.js contains example data for call variables
const testData = require('./test-data.js')
 
ged.on('ece.lookup', async function(callData) {
  // this will inspect the call data, then set Peripheral Variable 10 = '123456789'
  console.log('this is ece.lookup subtype')
  console.log('callData received: ', callData)
  return testData
})
 
ged.on('test.reply', async function(callData) {
  // this just inspects the call data and is not expected to return results
  console.log('this is test.reply subtype')
  console.log('callData received: ', callData)
})
 
ged.start()

Not Yet Implemented

Encryption and failover have not been implemented yet.

References

CISCO ICM Application Gateway Interface document: https://developer.cisco.com/fileMedia/download/3b38c422-0de9-4185-a8dc-023278aab3db

Install

npm i ged-145-server

DownloadsWeekly Downloads

10

Version

0.5.3

License

ISC

Unpacked Size

27.3 kB

Total Files

22

Last publish

Collaborators

  • avatar