A building block that shows how to make a simple outbound call & on answer retrive a static NCCO that plays TTS.
- Change the body of
Install the Nexmo library
to be appropriate for the language -
NEXMO_API_KEY
must be specified as a constantNEXMO_API_KEY
or as a string"NEXMO_API_KEY"
-
NEXMO_API_SECRET
must be specified as a constantNEXMO_API_SECRET
or as a string"NEXMO_API_SECRET"
-
NEXMO_NUMBER
must be specified as a string"NEXMO_NUMBER"
-
TO_NUMBER
must be specified as a string"TO_NUMBER"
- The answer URL must be
https://developer.nexmo.com/ncco/tts.json
-
NEXMO_APPLICATION_PRIVATE_KEY
must be specified as a constantNEXMO_APPLICATION_PRIVATE_KEY
or as a string"NEXMO_APPLICATION_PRIVATE_KEY"
- Code examples should include a GitHub link to the file
- Code examples should include the line numbers used from the linked file
- All code examples must be present in the
master
branch of the relevant quickstart repo - All code examples must be tested to work (manual testing is fine)
If the library takes a path for the private key:
-
NEXMO_APPLICATION_PRIVATE_KEY_PATH
must be specified as a constant
If the library takes string for the private key:
-
NEXMO_APPLICATION_PRIVATE_KEY
must be specified
- Fork this gist
- Edit the gist and the building block files to match the specification
- Return Gist as a comment in the original issue