0.0.18 • Published 2 years ago

touched-agi v0.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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


0.0.18

2 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.14

3 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago