"; switch (@$_REQUEST['Digits']) { case 1: // Keynote: Caller will be attending echo "Thats great news! Let us check availability and we will send you a confirmation shortly"; echo "Good news! Your seat has been reserved for the Keynote."; break; case 2: // Keynote: Caller will note be attending echo "Sorry you cant make it. We will be sending you a confirmation of your decision shortly."; echo "Ok. Maybe next time. Your Keynote seat has not been reserved."; break; case 3: //Keynote: Caller would like more information echo "So your still considering, thats good. We are sending you more Keynote details now."; echo "Here are your Keynote details: www.zang.io Please consider coming."; break; default: //Try again! Timeout passed or invalid digit is provided. echo "Oh, it looks like you pressed " . htmlspecialchars($_REQUEST['Digits']) . ", lets try this again"; echo "http://back-to-main-gather-ivr-document.xml"; break; } // Close main InboundXML tag echo "";