/typescript-agi

NodeJS TypeScript Library for Asterisk AGI Interfaces

Primary LanguageTypeScriptMIT LicenseMIT

Welcome to typescript-agi 👋

Version Documentation Maintenance License: MIT

NPM

NodeJS TypeScript Library for Asterisk AGI Interfaces

Install

npm install typescript-agi

Run tests

npm run test

Example Usage

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

const agiServer = new AGIServer();

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

agiServer.start();

Documentation

Library documentation is available at https://brandonlehmann.github.io/typescript-agi/

Author

👤 Brandon Lehmann brandonlehmann@gmail.com

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Brandon Lehmann brandonlehmann@gmail.com.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator