Skip to content

/AWS1/CL_LM2DTMFSPECIFICATION

Specifies the DTMF input specifications.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_maxlength TYPE /AWS1/LM2MAXUTTERANCEDIGITS /AWS1/LM2MAXUTTERANCEDIGITS

The maximum number of DTMF digits allowed in an utterance.

iv_endtimeoutms TYPE /AWS1/LM2TIMEINMILLISECONDS /AWS1/LM2TIMEINMILLISECONDS

How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

iv_deletioncharacter TYPE /AWS1/LM2DTMFCHARACTER /AWS1/LM2DTMFCHARACTER

The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

iv_endcharacter TYPE /AWS1/LM2DTMFCHARACTER /AWS1/LM2DTMFCHARACTER

The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.


Queryable Attributes

maxLength

The maximum number of DTMF digits allowed in an utterance.

Accessible with the following methods

Method Description
GET_MAXLENGTH() Getter for MAXLENGTH, with configurable default
ASK_MAXLENGTH() Getter for MAXLENGTH w/ exceptions if field has no value
HAS_MAXLENGTH() Determine if MAXLENGTH has a value

endTimeoutMs

How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

Accessible with the following methods

Method Description
GET_ENDTIMEOUTMS() Getter for ENDTIMEOUTMS, with configurable default
ASK_ENDTIMEOUTMS() Getter for ENDTIMEOUTMS w/ exceptions if field has no value
HAS_ENDTIMEOUTMS() Determine if ENDTIMEOUTMS has a value

deletionCharacter

The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

Accessible with the following methods

Method Description
GET_DELETIONCHARACTER() Getter for DELETIONCHARACTER, with configurable default
ASK_DELETIONCHARACTER() Getter for DELETIONCHARACTER w/ exceptions if field has no v
HAS_DELETIONCHARACTER() Determine if DELETIONCHARACTER has a value

endCharacter

The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.

Accessible with the following methods

Method Description
GET_ENDCHARACTER() Getter for ENDCHARACTER, with configurable default
ASK_ENDCHARACTER() Getter for ENDCHARACTER w/ exceptions if field has no value
HAS_ENDCHARACTER() Determine if ENDCHARACTER has a value