An attempt to develop a browser-based call-center.
Demo page <-- currently not fully functional
(since it's not a verified account, hence RedisDB integration not possible)
-
Step 1: Register on Plivo and add some credit to get started
-
Step 2: Buy a number to test the usability.
-
Step 3: Connect number to applitcation-type: DirectDial,
Config: Answer_url - http://URL_OR_IP_WHERE_HOSTED/call/route
-
Step 4: Add an endpoint and connect it to the number you bought.
-
Step 5: Execute the following commands in console:
-
clone this repo; go to project root; run:
$ pip install -r requirements.txt
-
To start an instance:
$ ./start
OR$ foreman start
-
-
Step 6: Go to http://URL_OR_IP_WHERE_HOSTED:5000/ and start your own call center. 😎 😝
-
Step 7: Refer below for information on different URLs and their usage.
Different URL paths and their uses:
-
/portal/customer OR /portal/agent
This is the login portal for customer/agent
-
/call/route?CLID=9999999999
Re-routes customer's call to a busy tone if agent not free. And adds to queue.
Else gets connected to the free agent and wait for an answer.
-
/call/music/
Return music (in XML response) for call on hold.
- CLID -> Caller ID
- Use Plivo's endpoints credentials to login
- Use shell.py to debug in realtime
- If you liked this, go to this awesome voicechat demo and try a conference call 😏
- Refer to TODO.md if you wish to contribute.