Skip to content
an application that creates an ivr service based on the json given as input to it.
Python
Find file
Latest commit 102ee14 @saadbinakhlaq Update README.md
Failed to load latest commit information.
static added css
templates plivo ivr app initial commit
.gitignore plivo ivr app initial commit
Procfile plivo ivr app initial commit
README.md Update README.md
ivr.py using global
requirements.txt plivo ivr app

README.md

plivo-ivr-creator

An application that creates an ivr service based on the json given as input to it. What this app does is that you specify the IVR system that you want in json string and specify the number to be called after the IVR system creation. The application creates an IVR system and calls the number entered.

Installation

Clone the repository:

git clone git@github.com:saadbinakhlaq/plivo-ivr-creator.git

Install the dependencies:

pip install -r requirements.txt
  • Update auth _id and auth _token and the url with your own id, token and url in the ivr file

IVR Input This is a json string something like in this format

{
  "message": "for x press 1 for y press 2",
    "actions": {
                1: {
                    "message": "for a press 1 for b press 2",
                    "actions": {
                                1: {"message": "you are in 1",
                                    "actions": None},
                                2: {"message": "you are in 2",
                                    "actions": None}
                                },
                    },
                2: {
                    "message": "for c press 5 for d press 6",
                    "actions": {
                                5: {"message": "you are in 5",
                                    "actions": None},
                                6: {"message": "you are in 6",
                                    "actions": None}

                                },
                    }

            }
}

Phone Number Input

Specify the phone number to be called here in this format. Country code 1st without any + or 00 for e.g. Indian phone number 919XXXXXXXXX.

Something went wrong with that request. Please try again.