Skip to content

Inbound call with IVR menu: Appointment Booking#63

Open
carlosalm-msft wants to merge 5 commits intomainfrom
carlosalm-msft/AppointmentReminder
Open

Inbound call with IVR menu: Appointment Booking#63
carlosalm-msft wants to merge 5 commits intomainfrom
carlosalm-msft/AppointmentReminder

Conversation

@carlosalm-msft
Copy link
Contributor

Purpose

Sample application with following scenario:

Call Contoso Dental office to confirm your appointment: Inbound call with IVR menu.

User dials Dentist’s office number.
Call is answered by CA endpoint.
Start recording
Play Audio – “Welcome to Contoso Dental’s virtual booking center. This call is being recorded for quality purposes. Please pick from the following times to select an appointment with your dentist.”
Play Audio - “Press 1 for 9:30am, Press 2 for 10:30am, Press 3 for 11:30am.”
Receive dtmf input.
Play audio –

if pressed 1 -> “Thank you for confirming your appointment at 9:30am. We look forward to seeing you, goodbye.”

if pressed 2 -> “Thank you for confirming your appointment at 10:30am. We look forward to seeing you, goodbye.” 

if pressed 3 -> “Thank you for confirming your appointment at 11:30am. We look forward to seeing you, goodbye.” 

any other key-> "I'm sorry that is not a valid input, please choose from the options provided"

Play Audio -  “Press 1 for 9:30am, Press 2 for 10:30am, Press 3 for 11:30am.” 
Terminate the call.
Recording should end too.

Does this introduce a breaking change?

[ ] Yes
[x ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ x] Other... Please describe: New Sample Application

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code
Setup ngrok pointing to your localhost:port where app will be listening to
Setup your ACS instance (Event > webhook) with your ngrok endpoint
Build and run application
Call your ACS phone number and follow IVR instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant