Need a small codebase3 developed for our Asterisk deployement

You can ping me on skype at: live:.cid.856ac68f2022ace2.

Here are the requirements:

Use Case: Handling Asterisk Calls Using ARI & External APIs

Tech Stack: Python or Node.js

Control Flow:

When a call lands, it should create a channel and drive the conversation using the following mechanism:

a. Playing Welcome Message
b. Accepting User's Speech and Sending the Text to an API
c. Getting the API Response and Playing it from Text to Speech
d. Call Disconnection

Internally, it should do all the Text → Speech & Speech → Text Conversion.