This project serves as a guide to help you build an application with FreeClimb. View this how-to guide 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.
-
Install the node packages necessary using command:
$ yarn install
-
Configure environment variables (this how-to guide uses the dotenv package).
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 APPLICATION_ID Appliction IDs can be found under Apps HOST The url of where your app is being hosted (e.g. yourHostedApp.com) -
Provide a value for the variables
to
andfrom
in makeARecording.js. Theto
number is any phone number you wish to call. This number must be verified (for trial users) and in E.164 format.from
is a FreeClimb number that makes the call (Incoming Numbers).
-
Run the application using command:
$ node speechRecognition.js
If you are experiencing difficulties, contact support.