The StartGather verb is used to get asynchronous notifications of DTMF digits collected in the call while other verbs are executed.
It cannot be used with the
The StartGather verb can be cancelled by the
|dtmfUrl||URL to send the DTMF event to. May be a relative URL.|
|dtmfMethod||(optional) The HTTP method to use for the request to
|username||(optional) The username to send in the HTTP request to
|password||(optional) The password to send in the HTTP request to
|tag||(optional) A custom string that will be sent with this and all future callbacks unless overwritten by a future
May be cleared by setting
Max length 256 characters.
|Callback||Can reply with more BXML|
Example 1 of 1: Gather digits during a Conference
This example shows how to use the StartGather verb to listen for digits pressed while the call is in a Conference. Whenever a digit is entered, a dtmf event is sent with the detected digit.
"1.0" encoding="UTF-8" xml version=<Response> <StartGather dtmfUrl="https://startgather.url/callback" /> <Conference>my-conference</Conference> </Response>