This project serves as a guide to help you build an application with FreeClimb. View this tutorial on FreeClimb.com. Specifically, the project will:
- Make an outgoing Call
- Prompt the participant for a response
- Host a grammar file for speech recognition
- Use the users response
To get started using a FreeClimb account, follow the instructions here.
-
Configure environment variables.
ENV VARIABLE DESCRIPTION ACCOUNT_ID Account ID which can be found under API credentials in Dashboard API_KEY API key which can be found under API credentials in Dashboard TUTORIAL_APPLICATION_ID Appliction IDs can be found under Apps HOST The url of where your app is being hosted (e.g. yourHostedApp.com) FREE_CLIMB_PHONE_NUMBER The FreeClimb number that is being used to make a phone call. To learn more go here
- Provide a value for the variable
toin speechRecognition.java. Thetonumber is any phone number you wish to call. This number must be verified (for trial users) and in E.164 format.
-
Build and run the application using command:
$ gradle build && java -Dserver.port=3000 -jar build/libs/gs-spring-boot-0.1.0.jar
If you are experiencing difficulties, contact support.