You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
//Do we already have a value stored? This would happen in the interruption case, a case in which we are looping over ourselves, or maybe we had a fatal error and had to restart the dialog tree
Copy file name to clipboardExpand all lines: packages/Telephony/Readme.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,23 +120,27 @@ The Stop Recording action stops recording of the conversation. Note that it is n
120
120
## **Aggregate DTMF Input (n)**
121
121
Prompts the user for multiple inputs that are aggregated until a specified character length is met or exceeded.
122
122
Speech, DTMF inputs, and chat provided characters can all be used to provide input, but any inputs that aren't the characters 1,2,3,4,5,6,7,8,9,0,#,*, or some combination of said characters are dropped.
123
+
A timeout timer will be initialized when the dialog begins or when the user sent a response that has not meet or exceed the batch length.
124
+
When the timeout is reached, the dialog will end and if the Default Value is set, its value will be assigned to the Property field. Also, a response can be sent to the user using the Default value Response field.
123
125
124
126
#### Parameters
125
127
* Batch Length
126
128
* Property
127
129
* Prompt
128
130
* AllowInterruptions
129
131
* AlwaysPrompt
132
+
* Timeout
133
+
* Default Value
134
+
* Default Value Response
130
135
131
136
#### Usage
132
137
* After started, each input the user sends will be appended to the last message until the user provides a number of characters equal to or greater than the batch length.
133
138
134
139
#### Dialog Flow
135
-
* The dialog will only end and continue to the next dialog when the batch length is reached.
140
+
* The dialog will only end and continue to the next dialog when the batch length is reached or the timeout is reached.
136
141
* If AllowInterruptions is true, the parent dialog will receive non-digit input and can handle it as an intent.
137
142
* After the interruption is handled, control flow will resume with this dialog. If AlwaysPrompt is set to true, the dialog will attempt to start over, otherwise it will end this dialog without setting the output property.
138
-
* Best practice recommendation when using interruptions is to validate that the output property has been set and handle the case in which it is and isn't set.'
139
-
143
+
* Best practice recommendation when using interruptions is to validate that the output property has been set and handle the case in which it is and isn't set.
140
144
141
145
#### Failures
142
146
* In the event that an exception occurs within the dialog, the dialog will end and the normal exception flow can be followed.
@@ -145,22 +149,27 @@ Speech, DTMF inputs, and chat provided characters can all be used to provide inp
145
149
## **Aggregate DTMF Input (#)**
146
150
Prompts the user for multiple inputs that are aggregated until the termination string is received.
147
151
Speech, DTMF inputs, and chat provided characters can all be used to provide input, but any inputs that aren't the characters 1,2,3,4,5,6,7,8,9,0,#,*, or some combination of said characters are dropped.
152
+
A timeout timer will be initialized when the dialog begins or when the user sent a response without including the termination character.
153
+
When the timeout is reached, the dialog will end and if the Default Value is set, its value will be assigned to the Property field. Also, a response can be sent to the user using the Default value Response field.
148
154
149
155
#### Parameters
150
156
* Termination Character
151
157
* Property
152
158
* Prompt
153
159
* AllowInterruptions
154
160
* AlwaysPrompt
161
+
* Timeout
162
+
* Default Value
163
+
* Default Value Response
155
164
156
165
#### Usage
157
166
* After started, each input the user sends will be appended to the last message until the user sends the provided termination character
158
167
159
168
#### Dialog Flow
160
-
* The dialog will only end and continue to the next dialog when the termination character is sent.
169
+
* The dialog will only end and continue to the next dialog when the termination character is sent or the timeout is reached.
161
170
* If AllowInterruptions is true, the parent dialog will receive non-digit input and can handle it as an intent.
162
171
* After the interruption is handled, control flow will resume with this dialog. If AlwaysPrompt is set to true, the dialog will attempt to start over, otherwise it will end this dialog without setting the output property.
163
-
* Best practice recommendation when using interruptions is to validate that the output property has been set and handle the case in which it is and isn't set.'
172
+
* Best practice recommendation when using interruptions is to validate that the output property has been set and handle the case in which it is and isn't set.
164
173
165
174
#### Failures
166
175
* In the event that an exception occurs within the dialog, the dialog will end and the normal exception flow can be followed.
0 commit comments