A building block that shows how to handle an inbound call that joins a conference call
-
You must specify one endpoint must be on the path
/webhooks/answer
-
Your endpoint must be accessible on a
GET
request -
Your endpoint must listen on port
3000
-
Your response should return a 200 status code
-
Your response should be JSON NCCO with the the following or equivalent body:
-
GET
request:
$ curl "http://127.0.0.1:3000/webhooks/answer"
Should result in the response:
[ { "action": "talk", "text": "Welcome to a Nexmo powered conference call" }, { "action": "conversation", "name": "room-name" } ]
-
-
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)
- Fork this gist
- Edit the gist and the building block files to match the specification
- Return Gist as a comment in the original issue