This is a cloud function that receives a callback from telephony systems to capture the details of a call. Currently it support Ozonetel's Kookoo telephony system.
- pyenv
- python 3.8
- Clone the repository
git clone https://github.com/DostEducation/RP_IVR_callback.git
- Switch to project folder and setup the vertual environment
cd RP_IVR_callback python3 -m venv venv
- Activate the virtual environment
For Unix or MacOS, using the bash shell:
For Windows using the Command Prompt. For example it may look like
source ./venv/bin/activate
c:/RP_IVR_analytics/venv/Scripts/Activate.bat
:For windows using PowerShell. For example it may look like./venv/bin/activate.bat
c:/RP_IVR_analytics/venv/Scripts/Activate.ps1
:./venv/bin/activate.ps1
- Install the dependencies:
pip install -r requirements-dev.txt
- Set up your .env file by copying .env.example
cp .env.example .env
- Add/update variables in your
.env
file for your environment. - Run the following command to get started with pre-commit
pre-commit install
- Start the server by following command
functions_framework --target=callback --debug
GNU Affero General Public License v3.0