Skip to content

rakotomandimby/typescript-agi-ng

Repository files navigation

Welcome to typescript-agi-ng 👋

This piece of code is taken from https://github.com/fabiotheo/typescript-agi , which itself has been taken from https://github.com/brandonlehmann/typescript-agi

Install

npm install typescript-agi-ng

Run tests

npm run test

Example Usage

import {
    AGIServer, 
    Channel
} from 'typescript-agi-ng';

const agiServer = new AGIServer();

agiServer.on('channel', async(channel: Channel) => {
    await channel.answer();
    await channel.sayNumber(12345);
    await channel.hangup();
});

agiServer.start();

About

Typesecript AGI Server implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published