Generates PCM16 mono audio for a digit string: a tone per digit with a silent gap between digits.
The digits to send (validated with IsValidDtmfDigits).
Output sample rate in Hz (8000 for a G.711 carrier).
Tone duration per digit.
Silence between digits.
The PCM16 samples.
when digits is not valid.
digits
Generates PCM16 mono audio for a digit string: a tone per digit with a silent gap between digits.