This parameter is used only when the trigger_event is set to RECORDSTART_TRIGGER_ON_VOICE_DETECT. For all other values of trigger_event, set historics to 0.
You can define the DTMF keys yourself or use predefined arrays. The predefined arrays are:
To define which DTMF keys are to stop recording, use a 16-character array. Valid DTMF keys are 0-9, A, B, C, D, *, # (hash). The DTMF keys are specified as elements of the array, the final element in the array must be a NULL character. For example, if you want to specify four keys, specify them as ‘125A’ in the first four elements of the array; the fifth element of the array must be a NULL character.