SWIdtmf—DTMF result
This event shows the DTMF string and its value as determined by the grammar.
Voice platforms write this event when the DTMF string is terminated.
In addition to the Tokens used for every event, this event has the following tokens:
Token |
Meaning |
---|---|
DSTR |
String of DTMF digits (such as 234567) |
RSLT |
Parsed result, (such as "yes"). If ambiguous, return all results separated by the number sign; for example, yes#maybe Log an empty string if DTMF is not parsed. |
Sample event (unambiguous parsed result):
EVNT=SWIdtmf|DSTR=2345678|RSLT=2345678
A sample event (no parsed result):
EVNT=SWIdtmf|DSTR=234567|RSLT=