0.5.3 • Published 7 years ago

ged-145-server v0.5.3

Weekly downloads
6
License
ISC
Repository
-
Last release
7 years ago

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

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago