This project serves as a guide to help you build an application with Persephony. Specifically, the project will:
- Accept incoming calls
- Receive digits from the caller
- Create conferences
- Add participants to conferences
This application will receive calls and have users enter the conference code of the conference they wish to join. It will then either create the conference or add the caller to an already existant conference.
To get started using a persephony account, follow the instructions here.
- Configure environment variables.
| ENV VARIABLE | DESCRIPTION |
|---|---|
| ACCOUNT_ID | Account ID which can be found under API Keys in Dashboard |
| AUTH_TOKEN | Authentication Token which can be found under API Keys in Dashboard |
| HOST | The host url where your application is hosted (e.g. yourHostedApp.com) |
-
Build and run the application using command:
$ gradle build && java -Dserver.port=3000 -jar build/libs/gs-spring-boot-0.1.0.jar