Skip to content

Added Twilio Voice Call feature #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

drishlekh
Copy link

Description

This is a PR for adding a voice call feature to the fastapi-twilio. It is kind of similar to the existing /send-sms/ route but instead of sending a message, this one makes a phone call and speaks the message to the user using Twilio’s <Say> feature.


What I Added

  • A new /make-call/ route in FastAPI
  • It accepts a message and phone number, and uses Twilio API to make a call
  • The message is spoken out loud during the call
  • Used a /voice route to return TwiML XML with the message to be spoken
  • I used ngrok to expose my local server to the internet so Twilio could access the /voice route when it makes the callback to get the message to say.

nehagup and others added 30 commits September 28, 2023 08:40
feat: adding django-postgres sample application
Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>
* fix: removed the docker part from readme

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>

* feat: adding new samples app for python

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>

---------

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>
* fix: removed the docker part from readme

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>

* fix: master readme updated

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>

* feat: application description added to the master readme

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>

---------

Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>
Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>
feat: adding new python sample app
Signed-off-by: Shashwat79802 <shashwatg79802@gmail.com>
fix: updated config for flask-mongo
Signed-off-by: Prajwal <prajwalpp3@gmail.com>
Co-authored-by: Prajwal <prajwalpp3@gmail.com>
Signed-off-by: Animesh pathak <kurosakiichigo.songoku@gmail.com>
* feat: added missing steps

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>

* fix: removed uncessary lines

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>

---------

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>
Signed-off-by: Animesh pathak <kurosakiichigo.songoku@gmail.com>
Signed-off-by: Animesh pathak <kurosakiichigo.songoku@gmail.com>
Signed-off-by: Animesh pathak <kurosakiichigo.songoku@gmail.com>
fix: Keploy installation method in readme
…sts and test coverage report (keploy#19)

* Added Flask+Mongo app with unit tests, keploy tests and test coverage report

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* Added README for sample-mongo-flask-local app

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* restructured the folders

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* renamed two directories

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* merged the local and docker flask + mongo apps

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

---------

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>
* feat: added missing steps

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>

* fix: removed uncessary lines

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>

* Update README.md

---------

Signed-off-by: Animesh <kurosakiichigo.songoku@gmail.com>
* Revert "fix: docker and readme instruction"

This reverts commit f05aab2.

* fix: refactor flask-mongo change

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

---------

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
* Updated README

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* added images

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

* fixed README issues

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>

---------

Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>
Signed-off-by: Guruprasanna02 <guruprasannavasudevan02@gmail.com>
* feat: add coverage in fastapi

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

* feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

* feat: add coverage in fastapi-twilio

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

feat: add coverage in fastapi-postgres

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

* Update README.md

---------

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Signed-off-by: Sarthak160 <rocksarthak45@gmail.com>
Signed-off-by: Swapnoneel Saha <swapnoneelsaha111@gmail.com>
* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <tej171995@gmail.com>

* removed errors

Signed-off-by: Aman172003 <tej171995@gmail.com>

---------

Signed-off-by: Aman172003 <tej171995@gmail.com>
* Revert "fix: docker and readme instruction"

This reverts commit f05aab2.

* fix: refactor flask-mongo change

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <tej171995@gmail.com>

* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <tej171995@gmail.com>

* changes

Signed-off-by: Aman172003 <tej171995@gmail.com>

* init

Signed-off-by: Aman172003 <tej171995@gmail.com>

* initialized

Signed-off-by: Aman172003 <tej171995@gmail.com>

* updated

Signed-off-by: Aman172003 <tej171995@gmail.com>

* removed errors

Signed-off-by: Aman172003 <tej171995@gmail.com>

* chore: remove keploy folder

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

---------

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Signed-off-by: Aman172003 <tej171995@gmail.com>
Co-authored-by: Aman172003 <tej171995@gmail.com>
* feat:utg support

* feat:utg support

* feat:utg support

* Update app.py
* sample django mongo app

Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>

* add keploy tests

Signed-off-by: Aryan Bakliwal <106430579+AryanBakliwal@users.noreply.github.com>

---------

Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
Signed-off-by: Aryan Bakliwal <106430579+AryanBakliwal@users.noreply.github.com>
* added sample app

Signed-off-by: Harshjosh361 <harshjosh361@gmail.com>

* updated dependency, installed python dotenv

Signed-off-by: Harshjosh361 <harshjosh361@gmail.com>

---------

Signed-off-by: Harshjosh361 <harshjosh361@gmail.com>
slashexx and others added 7 commits November 20, 2024 18:53
…keploy#35)

* Add sample postgres app

Signed-off-by: slashexx <dhruvpuri.35@gmail.com>

* Add sanic app (keploy#2337)

* Add readme

Signed-off-by: slashexx <dhruvpuri.35@gmail.com>

---------

Signed-off-by: slashexx <dhruvpuri.35@gmail.com>
* Added container name in docker-compose.yml

Container name for database not given in this file. Thus, unable to start the application.

* Updating changes in README.md

When running natively on docker, changes need to be done in main.py & database.py from local host to container name.

* Update README.md
Signed-off-by: Achanandhi-M <achanandhi.m@gmail.com>
Copy link

@pratik-mahalle pratik-mahalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @drishlekh, Thank you for raising the pr. I am not able to understand why there is lots of file changes. Please clarfiy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.