-
Install Python 3.10(https://www.fynd.academy/blog/install-python-3-10-ubuntu)
- Step 1: Update Your System
sudo apt update sudo apt upgrade sudo apt full-upgrade
- Step 2: Install Required Dependencies
sudo apt install build-essential sudo apt install libssl-dev libffi-dev python3-dev sudo apt install zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev dpkg -l | grep <package-name>
- Step 3: Add Deadsnakes PPA
sudo add-apt-repository ppa: dead snakes/PPA sudo apt update grep -r dead snakes /etc/apt/sources.list
- Step 4: Install Python 3.10
sudo apt install python3.10 python3.10 --version sudo apt install python3.10-distutils wget https://bootstrap.pypa.io/get-pip.py python3.10 get-pip.py
- Step 5: Set Python 3.10 as Default (Optional)
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 sudo update-alternatives --config python3 python3 --version Sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
- Step 6: Install pip for Python 3.10
sudo apt install python3.10-distutils wget https://bootstrap.pypa.io/get-pip.py python3.10 get-pip.py pip3.10 --version sudo ln -s /usr/local/bin/pip3.10 /usr/bin/pip
-
Install dependencies
pip install -r requirements.txt
Note: make-receive-phone-calls-browser-twilio-programmable-voice-python-javascript
We need to complete the env file with the following information:
TWIML_APP_SID="paste your TwiML app SID here"
TWILIO_AUTH_TOKEN="paste your TwiML app token here"
TWILIO_API_KEY_SID="paste your API key SID here"
TWILIO_API_KEY_SECRET="paste your API key secret here"
TWILIO_ACCOUNT_SID="paste your Twilio Account SID here"
python main.py
Preperferences:
https://www.twilio.com/en-us/blog/make-receive-phone-calls-browser-twilio-programmable-voice-python-javascript
https://github.com/twilio/twilio-voice.js
https://www.npmjs.com/package/@twilio/voice-sdk
https://www.npmjs.com/package/twilio-client
https://knowledge.apollo.io/hc/en-us/articles/4734516058893-Make-and-Receive-Calls
https://knowledge.apollo.io/hc/en-us/articles/26604621629069-Get-an-Apollo-Phone-Number
https://knowledge.apollo.io/hc/en-us/articles/26604844223117-Access-and-Manage-Calls
https://www.twilio.com/docs/voice/sdks/javascript/v1/connection
https://www.twilio.com/docs/voice/sdks/javascript/v1/connection
https://www.twilio.com/en-us/blog/routing-incoming-phone-calls-twilio-programmable-voice-python-django