This AI Voice Agent is designed and built by Jannis Moore to provide an advanced telephony interface using Vocode's telephony server. For more information and other projects by Jannis Moore, visit Integraticus and check out the YouTube Channel.
To set up the AI Voice Agent, follow these steps:
- Sign up to Render.com.
- Navigate to "New" > "Web Service" and connect your GitHub account if you haven't done that yet.
- Fork and import this repository within Render.com.
- Once done, Render will automatically set most of the values for you. You can customize the Region as you wish.
- Set the following environment variables:
OPENAI_API_KEY
: Set this to your OpenAI API key.TRANSCRIPT_CALLBACK_URL
: Set this to the URL you want to call once a call was completed.TWILIO_ACCOUNT_SID
: Your Twilio Account ID.TWILIO_AUTH_TOKEN
: Your Twilio Auth token.DEEPGRAM_API_KEY
: The API key for your Deepgram Acccount.
- Once the app is deployed successfully, copy the Render.com URL and add
/inbound_call
at the end of it - Paste that URL into the Webhook field of your Twilio Phone Number
This part of the manual is intended if you run the installation locally.
First, build the application using Docker:
docker build -t jannismoore-telephony-app .
Then, run the application using docker-compose. From the telephony_app
directory, run:
docker-compose up
For a more detailed guide on setting up the telephony server, visit Vocode's official documentation.
See Vocode's Self-hosted Telephony Setup for detailed setup steps!