Skip to content

fabiotheo/typescript-agi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NodeJS TypeScript Library for Asterisk AGI Interfaces

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •