MaxValues.cs
1 using System;
2 
3 namespace Microsoft.Bot.Builder.Calling.ObjectModel.Misc
4 {
5  public static class MaxValues
6  {
10  public static readonly TimeSpan RecordingDuration = TimeSpan.FromMinutes(10);
11 
15  public static readonly uint NumberOfStopTones = 5;
16 
21  public static readonly TimeSpan SilenceTimeout = TimeSpan.FromSeconds(30);
22 
27  public static readonly TimeSpan InitialSilenceTimeout = TimeSpan.FromSeconds(30);
28 
32  public static readonly TimeSpan InterDigitTimeout = TimeSpan.FromSeconds(5);
33 
37  public static readonly uint NumberOfDtmfsExpected = 20;
38 
42  public static readonly uint NumberOfSpeechVariations = 5;
43 
47  public static readonly TimeSpan SilentPromptDuration = TimeSpan.FromMinutes(1);
48 
52  public static readonly uint LengthOfTTSText = 2 * 1024;
53 
57  public static readonly uint AppStateLength = 1024;
58 
62  public static readonly uint MaxDownloadedFileSizeBytes = 1 * 1024 * 1024;
63 
67  public static readonly uint MediaConfigurationLength = 1024;
68 
72  public static readonly TimeSpan FileDownloadTimeout = TimeSpan.FromSeconds(10.0);
73  }
74 }
The max time period by which user is supposed to start punching in digits has elapsed.