Giter Club home page Giter Club logo

eagi_lex's Introduction

This is an EAGI script written in Python to test interactions between AWS Lex and Asterisk

EAGI is used to collect audio input from file descriptor 3

Permissions: Make sure your lex-exec-roll has permissions for polly:* so that you can synthesize speech. Even though the Bot may have been created with an IAM user that has polly:SynthesizeSpeech permissions, the bot will use lex-exec-roll which does not right out of the gate. Really annoying but Lex is still beta I guess.

If you have additional variables that need to be replaced in the asterisk conf files, add them to confvars.csv, otherwise they will be ignored. This prevents shell formatted dialplan variables in extensions.conf from being blanked.

If you are installing on an instance that already has credentials, ignore the following: In order for the script to function, you need to place your AWS credentials into an env file under environments/

Format as:

export AWS_ACCESS_KEY_ID=<Your AWS Access Key Id>
export AWS_SECRET_ACCESS_KEY=<Your AWS Secret Access Key>
export AWS_SESSION_TOKEN=<Your AWS Session Token>
export AWS_DEFAULT_REGION=<Region of deployment, but right now LEX only works in us-east-1>

Additional configuration documentation goes... here!

eagi_lex's People

Contributors

phatjmo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eagi_lex's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.