Skip to main content
Collect a caller’s phone number via keypad (DTMF + # terminator) with validation and duplicate detection. XML elements used: <Speak>, <Gather inputType=dtmf finishOnKey=#>, <Redirect>, <Hangup>

View on GitHub

Clone and run the full working example

Getting started

Overview

The caller is prompted to enter a phone number using their keypad, followed by #. The server validates the digits, reads them back one at a time for confirmation, and stores the number with deduplication. Captured numbers are accessible via API for CRM import or lead management.

Call flow

Vobiz webhooks

Set /answer as the Answer URL in your Vobiz application.

App API

Environment variables