Allows you to set which DTMF tones will terminate
- playback (see mod_dptools:playback or mod_dptools:play_and_detect_speech for example), or
- recording (see
mod_commands(i.e., the FreeSWITCH API commands),
The default terminator is
none- undefines the terminator digit, meaning no DTMF tone will interrupt playback
any- any DTMF will interrupt playback
Digits not specified as terminators will be collected, but won't interrupt playback.
+(plus) - includes the following terminator digit along with the other DTMF digits in the returned string
x(letter ex) - includes the following terminator digit in the returned string and also returns
See last example below on what these modifiers do.
TODO Add use cases.
If DTMF 9 is dialed during playback, it will interrupt playback and return the digit 9 along with any other dialed digits; if
* is dialed it will only interrupt playback without being included in the DTMF string returned: