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
* fix: removed the docker part from readme

Signed-off-by: Shashwat79802 <[email protected]>

* feat: adding new samples app for python

Signed-off-by: Shashwat79802 <[email protected]>

---------

Signed-off-by: Shashwat79802 <[email protected]>
* fix: removed the docker part from readme

Signed-off-by: Shashwat79802 <[email protected]>

* fix: master readme updated

Signed-off-by: Shashwat79802 <[email protected]>

* feat: application description added to the master readme

Signed-off-by: Shashwat79802 <[email protected]>

---------

Signed-off-by: Shashwat79802 <[email protected]>
feat: adding new python sample app
fix: updated config for flask-mongo
Signed-off-by: Animesh pathak <[email protected]>
* feat: added missing steps

Signed-off-by: Animesh <[email protected]>

* fix: removed uncessary lines

Signed-off-by: Animesh <[email protected]>

---------

Signed-off-by: Animesh <[email protected]>
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 <[email protected]>

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

Signed-off-by: Swapnoneel Saha <[email protected]>

* restructured the folders

Signed-off-by: Swapnoneel Saha <[email protected]>

* renamed two directories

Signed-off-by: Swapnoneel Saha <[email protected]>

* merged the local and docker flask + mongo apps

Signed-off-by: Swapnoneel Saha <[email protected]>

---------

Signed-off-by: Swapnoneel Saha <[email protected]>
* feat: added missing steps

Signed-off-by: Animesh <[email protected]>

* fix: removed uncessary lines

Signed-off-by: Animesh <[email protected]>

* Update README.md

---------

Signed-off-by: Animesh <[email protected]>
* Revert "fix: docker and readme instruction"

This reverts commit f05aab2.

* fix: refactor flask-mongo change

Signed-off-by: Animesh Pathak <[email protected]>

---------

Signed-off-by: Animesh Pathak <[email protected]>
* Updated README

Signed-off-by: Swapnoneel Saha <[email protected]>

* added images

Signed-off-by: Swapnoneel Saha <[email protected]>

* fixed README issues

Signed-off-by: Swapnoneel Saha <[email protected]>

---------

Signed-off-by: Swapnoneel Saha <[email protected]>
* feat: add coverage in fastapi

Signed-off-by: Animesh Pathak <[email protected]>

feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <[email protected]>

* feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <[email protected]>

* feat: add coverage in fastapi-twilio

Signed-off-by: Animesh Pathak <[email protected]>

feat: add coverage in flask-mongo

Signed-off-by: Animesh Pathak <[email protected]>

feat: add coverage in fastapi-postgres

Signed-off-by: Animesh Pathak <[email protected]>

* Update README.md

---------

Signed-off-by: Animesh Pathak <[email protected]>
* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <[email protected]>

* removed errors

Signed-off-by: Aman172003 <[email protected]>

---------

Signed-off-by: Aman172003 <[email protected]>
* Revert "fix: docker and readme instruction"

This reverts commit f05aab2.

* fix: refactor flask-mongo change

Signed-off-by: Animesh Pathak <[email protected]>

* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <[email protected]>

* feat: Created a sample app using flask and redis

Signed-off-by: Aman172003 <[email protected]>

* changes

Signed-off-by: Aman172003 <[email protected]>

* init

Signed-off-by: Aman172003 <[email protected]>

* initialized

Signed-off-by: Aman172003 <[email protected]>

* updated

Signed-off-by: Aman172003 <[email protected]>

* removed errors

Signed-off-by: Aman172003 <[email protected]>

* chore: remove keploy folder

Signed-off-by: Animesh Pathak <[email protected]>

---------

Signed-off-by: Animesh Pathak <[email protected]>
Signed-off-by: Aman172003 <[email protected]>
Co-authored-by: Aman172003 <[email protected]>
* feat:utg support

* feat:utg support

* feat:utg support

* Update app.py
* sample django mongo app

Signed-off-by: Aryan Bakliwal <[email protected]>

* add keploy tests

Signed-off-by: Aryan Bakliwal <[email protected]>

---------

Signed-off-by: Aryan Bakliwal <[email protected]>
Signed-off-by: Aryan Bakliwal <[email protected]>
* added sample app

Signed-off-by: Harshjosh361 <[email protected]>

* updated dependency, installed python dotenv

Signed-off-by: Harshjosh361 <[email protected]>

---------

Signed-off-by: Harshjosh361 <[email protected]>
slashexx and others added 7 commits November 20, 2024 18:53
…keploy#35)

* Add sample postgres app

Signed-off-by: slashexx <[email protected]>

* Add sanic app (keploy#2337)

* Add readme

Signed-off-by: slashexx <[email protected]>

---------

Signed-off-by: slashexx <[email protected]>
* 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
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.