@gibme/asterisk-gateway-interface
    Preparing search index...

    @gibme/asterisk-gateway-interface

    Asterisk Gateway Interface Server

    https://gibme-npm.github.io/asterisk-gateway-interface/

    import AGI, { Channel } from '@gibme/asterisk-gateway-interface';

    (async () => {
    const agi = new AGI({
    port: 3000
    });

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

    await agi.start();
    })()