touched-agi
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

touched-agi

A simple and easy to use FastAGI.

This is was based of TS-AGI.

Install

npm install touched-agi

or

yarn add touched-agi

import { Agi } from "touched-agi";

const agi = new Agi();

agi.use(async (ctx: any) => {
    await ctx.getData("beep", 13000, 13);
});

agi.listen(3000, () => {
    console.log("Running on port 3000");
});

Add to Asterisk extensions.conf

[default]
exten = > 1000,1,AGI(agi://localhost:3000)

Links

Asterisk AGI


Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.180latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.180
0.0.171
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i touched-agi

Weekly Downloads

1

Version

0.0.18

License

ISC

Unpacked Size

2.06 kB

Total Files

2

Last publish

Collaborators

  • ouri028