Skip to content

satyam-seth-learnings/exotel_learning

Repository files navigation

Exotel Voice Setup

  • Create a Exotel App [Manage -> App Bazaar]

  • Assign a phone number to the app [Manage -> Exo Phones]

  • Check call recording and call logs [Calls -> Inbox]

  • Voice Applets setup video Link

  • Working with the Stream and Voicebot Applet Doc

  • Voice Bot FAQ Link

Exotel App Voice Applets Config

How to run the code

  • Create a virtual environment

    python3 -m venv .venv
  • Activate the virtual environment

    source .venv/bin/activate
  • Install the required packages

    pip install -r requirements.txt
  • Run server

    python manage.py runserver
  • Start ngrok

    ngrok http 8000
  • Use ngrok URL in Exotel Applet configuration

  • ngrok

  • Note: we have to open ngrok url in browser for first time and click the verify button.

  • Now call to your exotel number and it will connect to the voice applet.

  • Sample server logs

Bonus

  • Voice Streaming Sample Repo Link

  • We can use PyAudio library for audio operations.

  • We can use postman to test our websocket endpoint

    postman

Pending

  • Send media chunks back to exotel

  • Create an audio file received chunks from exotel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages