Speed up development with full-stack environments for every branch.

Learn More

Handle user input via an interactive voice response using Twilio [PHP, telephony, phone and IVR]

42 Runs 1061 Views 214 Copies


sundip 66

published 4 years ago

<?xml version="1.0" encoding="UTF-8"?>
	<Gather action="handle-user-input.php" numDigits="1">
		<Say>Welcome to TPS.</Say>
		<Say>For store hours, press 1.</Say>
		<Say>To speak to an agent, press 2.</Say>
		<Say>To check your package status, press 3.</Say>
	<!-- If customer doesn't input anything, prompt and try again. -->
	<Say>Sorry, I didn't get your response.</Say>
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).